Skip to content

Commit d5daf7c

Browse files
committed
Clarify an error which might occur when redoing the number test
1 parent 15c2eaf commit d5daf7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

itest/src/edu/stanford/nlp/ie/NumberNormalizerITest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ public void testNumbers() {
126126
// System.err.println("num is " + num.toShorterString());
127127
}
128128
}
129-
assertFalse(expectedNumbers.hasNext());
129+
assertFalse("expectedNumbers were left which didn't show up in the document", expectedNumbers.hasNext());
130+
assertFalse("expectedTexts were left which didn't show up in the document", expectedTexts.hasNext());
130131
}
131132

132133
@Test

0 commit comments

Comments
 (0)