Changeset 17336 in josm for trunk/test/unit/org/openstreetmap/josm/tools
- Timestamp:
- 2020-11-23T19:59:45+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/SearchCompilerQueryWizardTest.java
r17275 r17336 24 24 25 25 private static String constructQuery(String s) { 26 return SearchCompilerQueryWizard. getInstance().constructQuery(s);26 return SearchCompilerQueryWizard.constructQuery(s); 27 27 } 28 28 … … 241 241 "type:relation and type=multipolygon and -landuse=* and -\"area:highway\"=*"); 242 242 } 243 244 /** 245 * Test for ticket <a href="https://josm.openstreetmap.de/ticket/20037>#20037</a> 246 */ 247 @Test 248 void testTicket20037() { 249 assertQueryEquals( 250 " node[~\"^.*$\"~\"forward\"];\n" + 251 " node[~\"^.*$\"~\"backward\"];\n", 252 "type:node AND (*=forward OR *=backward)"); 253 } 243 254 }
Note:
See TracChangeset
for help on using the changeset viewer.