Skip to content

Commit 8d6ea40

Browse files
committed
Oops, need to check the comments exist in the unit test
1 parent 723f20d commit 8d6ea40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

itest/src/edu/stanford/nlp/pipeline/CoNLLUReaderITest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ public void testReadingInCoNLLUFile() throws ClassNotFoundException, IOException
121121
for (int i = 0; i < sentences.size(); ++i) {
122122
assertEquals(Integer.valueOf(i), sentences.get(i).get(CoreAnnotations.SentenceIndexAnnotation.class));
123123
assertTrue(sentences.get(i).containsKey(SemanticGraphCoreAnnotations.EnhancedDependenciesAnnotation.class));
124-
assertEquals(5, sentences.get(i).keySet().size());
124+
assertTrue(sentences.get(i).containsKey(CoreAnnotations.CommentsAnnotation.class));
125+
assertEquals(6, sentences.get(i).keySet().size());
125126
}
126127

127128
// Check the document tokens and the sentence tokens lists are the same

0 commit comments

Comments
 (0)