Skip to content

Commit b7ca041

Browse files
GerdPGerdP
authored andcommitted
see #23748: NPE: Reverse way direction: Automatic tag correction
- add null value in unit test git-svn-id: https://josm.openstreetmap.de/svn/trunk@19125 0c6e7542-c601-0410-84e7-c038aed88b3b
1 parent 3311095 commit b7ca041

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit/org/openstreetmap/josm/tools/UtilsTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ void testToUnmodifiableMap() {
513513
map4.put("ooo", "bar");
514514
map4.put("sss", "baz");
515515
map4.put("mmm", ":-)");
516+
map4.put("xxx", null); // see #23748
516517
assertEquals(map4, Utils.toUnmodifiableMap(map4));
517518
}
518519

0 commit comments

Comments
 (0)