Changeset 18496 in josm for trunk/test/unit
- Timestamp:
- 2022-06-21T18:31:54+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/search/SearchCompilerTest.java
r18291 r18496 851 851 assertFalse(c.match(OsmUtils.createPrimitive("node name=bar"))); 852 852 } 853 854 /** 855 * Non-regression test for JOSM #22156 856 * x % 0 throws an ArithmeticException 857 */ 858 @Test 859 void testNonRegression22156() { 860 assertThrows(SearchParseError.class, () -> SearchCompiler.compile("nth%: 0")); 861 } 853 862 }
Note:
See TracChangeset
for help on using the changeset viewer.