Skip to content

SimpleGazetteerAnnotatorTest - getLabel String with path information? #744

@chrisoutwright

Description

@chrisoutwright

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions