Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleGazetteerAnnotatorTest - getLabel String with path information? #744

Open
chrisoutwright opened this issue Dec 25, 2020 · 0 comments

Comments

@chrisoutwright
Copy link

chrisoutwright commented Dec 25, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant