Changeset 7786 in josm for trunk/test/unit


Ignore:
Timestamp:
2014-12-10T23:36:01+01:00 (9 years ago)
Author:
Don-vip
Message:

see #10816 - fix text parsing regressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/TextTagParserTest.java

    r7081 r7786  
    3939    @Test
    4040    public void testTNformat() {
    41         String txt = "   a  \t  1   \n\n\n  b=2 \t the value with \"quotes\"";
     41        String txt = "   a  \t  1   \n\n\n  b\t2 \n c \t the value with \"quotes\"";
    4242        Map<String, String> correctTags = new HashMap<String, String>() { {
    43             put("a", "1"); put("b=2", "the value with \"quotes\"");
     43            put("a", "1"); put("b", "2"); put("c", "the value with \"quotes\"");
    4444        }};
    4545        Map<String, String> tags = TextTagParser.readTagsFromText(txt);
Note: See TracChangeset for help on using the changeset viewer.