Skip to content

Commit 1164890

Browse files
committed
Make tests reflect the status of issue #16
1 parent ecbae87 commit 1164890

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/resources/test2.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ <h3>Section 3 h3</h3>
5050
<tr>
5151
<td>3</td>
5252
<td>15</td>
53+
<td>15</td>
5354
<td>1</td>
5455
</tr>
5556
</table>

src/test/scala/net/ruippeixotog/scalascraper/dsl/DSLExtractingSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class DSLExtractingSpec extends Specification with BrowserHelper {
6969

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

7575
"allow immediate parsing of dates after extraction" in {

0 commit comments

Comments
 (0)