Changeset 11803 in josm for trunk


Ignore:
Timestamp:
2017-03-31T23:57:55+02:00 (8 years ago)
Author:
bastiK
Message:

fix test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDialogTest.java

    r11214 r11803  
    107107                "\n" +
    108108                "List of generated Styles:\n" +
    109                 " * NodeElemStyle{z_idx=[4.95/0.0/0.0]  symbol=[symbolShape=SQUARE size=6 stroke=java.awt.BasicStroke strokeColor=java.awt.Color[r=255,g=0,b=0] fillColor=java.awt.Color[r=255,g=0,b=0]]}\n" +
     109                " * NodeElement{z_idx=[4.95/0.0/0.0]  symbol=[symbolShape=SQUARE size=6 stroke=java.awt.BasicStroke strokeColor=java.awt.Color[r=255,g=0,b=0] fillColor=java.awt.Color[r=255,g=0,b=0]]}\n" +
    110110                "\n" +
    111111                "\n";
     
    119119            ds.addPrimitive(n);
    120120            ds.addSelected(n);
    121             assertEquals(baseText, InspectPrimitiveDialog.buildMapPaintText().replaceAll("@(\\p{XDigit})+", ""));
     121            String text = InspectPrimitiveDialog.buildMapPaintText().replaceAll("@(\\p{XDigit})+", "");
     122            assertEquals(baseText, text);
    122123            n = new Node(LatLon.ZERO);
    123124            n.setUser(User.getAnonymous());
Note: See TracChangeset for help on using the changeset viewer.