Skip to content

Commit 809ab0a

Browse files
committed
Updated the name of a result object, so need to update the unit test as well
1 parent 9bb7610 commit 809ab0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void testSemgrexJson() throws IOException {
143143

144144
@Test
145145
public void testSemgrexAnnotation() throws IOException {
146-
String expected = "result { result { match { matchIndex: 3 node { name: \"verb\" matchIndex: 3 } node { name: \"obj\" matchIndex: 5 } graphIndex:0 semgrexIndex:0 } }}".replaceAll(" ", "");
146+
String expected = "result { result { match { matchIndex: 3 node { name: \"verb\" matchIndex: 3 } node { name: \"obj\" matchIndex: 5 } sentenceIndex:0 semgrexIndex:0 } }}".replaceAll(" ", "");
147147
String query = "The dog ate a fish";
148148
byte[] message = query.getBytes("utf-8");
149149
Properties props = new Properties();

0 commit comments

Comments
 (0)