Skip to content

Commit

Permalink
Make tests reflect the status of issue #16
Browse files Browse the repository at this point in the history
  • Loading branch information
ruippeixotog committed Apr 5, 2016
1 parent ecbae87 commit 1164890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/resources/test2.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ <h3>Section 3 h3</h3>
<tr>
<td>3</td>
<td>15</td>
<td>15</td>
<td>1</td>
</tr>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class DSLExtractingSpec extends Specification with BrowserHelper {

"support immediate parsing of numbers after extraction" in {
doc >> extractor("#rating", stext, asDouble) mustEqual 4.5
doc >> extractor("#mytable td", texts, seq(asInt)) mustEqual Seq(3, 15, 1)
doc >> extractor("#mytable td", texts, seq(asInt)) mustEqual Seq(3, 15, 15, 1)
}

"allow immediate parsing of dates after extraction" in {
Expand Down

0 comments on commit 1164890

Please sign in to comment.