Changeset 33631 in osm for applications/editors


Ignore:
Timestamp:
2017-09-19T05:17:48+02:00 (7 years ago)
Author:
nyuriks
Message:

Fix broken Wikosm unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia/io/WikosmDownloadReaderTest.java

    r33629 r33631  
    3939        assertThat(WikosmDownloadReader.point(9.5, 47.16),
    4040                is("\"Point(9.5 47.16)\"^^geo:wktLiteral"));
    41         assertThat(WikosmDownloadReader.boxParams(1, 2, 3, 4),
    42                 is("\nbd:serviceParam wikibase:cornerWest \"Point(1 2)\"^^geo:wktLiteral." +
    43                         "\nbd:serviceParam wikibase:cornerEast \"Point(3 4)\"^^geo:wktLiteral.\n"));
     41        assertThat(WikosmDownloadReader.boxParams(1.1, 2.2, 3.3, 4.4),
     42                is("\nbd:serviceParam wikibase:cornerWest \"Point(1.1 2.2)\"^^geo:wktLiteral." +
     43                        "\nbd:serviceParam wikibase:cornerEast \"Point(3.3 4.4)\"^^geo:wktLiteral.\n"));
    4444    }
    4545
Note: See TracChangeset for help on using the changeset viewer.