Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SimpleGazetteerAnnotatorTest - getLabel String with path information? #744

Open
@chrisoutwright

Description

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

        AltStyle によって変換されたページ (->オリジナル) /