cogcomp-nlp
cogcomp-nlp copied to clipboard
SimpleGazetteerAnnotatorTest - getLabel String with path information?
Running the edu.illinois.cs.cogcomp.edison.annotators.SimpleGazetteerAnnotatorTest from the illinois-edison yields Assertion Errors like these for the reference "organizations(IC)"
org.junit.ComparisonFailure: expected:<[/H:/eclipse/cogcomp/cogcomp-nlp-master/edison/target/classes/testgazetteers/]organizations(IC)> but was:<[]organizations(IC)>
The assertion part in question is
assertEquals(c1.getLabel(), "organizations(IC)");
Why is there path information in the square brackets? Where do the square brackets come from in the Failure log?