Changeset 9349 in josm for trunk/test/unit
- Timestamp:
- 2016-01-09T12:10:25+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/search/SearchCompilerTest.java
r9214 r9349 2 2 package org.openstreetmap.josm.actions.search; 3 3 4 import static org.junit.Assert.assertEquals; 4 5 import static org.junit.Assert.assertFalse; 5 6 import static org.junit.Assert.assertThat; … … 379 380 anonymous.match(anonymous.n2, true); 380 381 } 382 383 @Test 384 public void testFooTypeBar() throws Exception { 385 try { 386 SearchCompiler.compile("foo type bar"); 387 throw new RuntimeException(); 388 } catch (ParseError parseError) { 389 assertEquals("<html>Expecting <code>:</code> after <i>type<i>", parseError.getMessage()); 390 } 391 } 381 392 }
Note:
See TracChangeset
for help on using the changeset viewer.