File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
test/src/edu/stanford/nlp/semgraph/semgrex Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -589,18 +589,18 @@ public void testMultipleDepths() {
589589 runTest ("{} 6,6<< {word:A}" , graph , "I" );
590590 }
591591
592- /** After making SORT a separate token in the parser, we should verify that "sort " can be treated as an identifier as well */
593- public void testSortNamedNode () {
592+ /** After making UNIQ a separate token in the parser, we should verify that "uniq " can be treated as an identifier as well */
593+ public void testUniqNamedNode () {
594594 SemanticGraph graph = makeComplicatedGraph ();
595595
596596 runTest ("{} >obj ({} >expl {})" , graph , "A" );
597597
598598 SemgrexPattern pattern =
599- SemgrexPattern .compile ("{} >obj ({} >expl {}=sort )" );
599+ SemgrexPattern .compile ("{} >obj ({} >expl {}=uniq )" );
600600 SemgrexMatcher matcher = pattern .matcher (graph );
601601 assertTrue (matcher .find ());
602602 assertEquals (1 , matcher .getNodeNames ().size ());
603- assertEquals ("E" , matcher .getNode ("sort " ).toString ());
603+ assertEquals ("E" , matcher .getNode ("uniq " ).toString ());
604604 assertEquals ("A" , matcher .getMatch ().toString ());
605605 assertFalse (matcher .find ());
606606 }
You can’t perform that action at this time.
0 commit comments