cogcomp-nlp icon indicating copy to clipboard operation
cogcomp-nlp copied to clipboard

SimpleGazetteerAnnotatorTest - getLabel String with path information?

Open chrisoutwright opened this issue 3 years ago • 0 comments

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?

chrisoutwright avatar Dec 25 '20 23:12 chrisoutwright