Skip to content
Snippets Groups Projects
Commit 4dea14fc authored by gmantele's avatar gmantele
Browse files

[ADQL] Finally, do not test exactly the weirdly encoded character

Follow up to the commits 33a790a4
and 5e0f82de
parent 5e0f82de
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ public class TestADQLParser { ...@@ -166,7 +166,7 @@ public class TestADQLParser {
(new ADQLParser()).parseQuery("select gr\u00e9gory FROM aTable"); (new ADQLParser()).parseQuery("select gr\u00e9gory FROM aTable");
}catch(Throwable t){ }catch(Throwable t){
assertEquals(ParseException.class, t.getClass()); assertEquals(ParseException.class, t.getClass());
assertTrue(t.getMessage().startsWith("Incorrect character encountered at l.1, c.10: \"\\u00e9\" ('")); assertTrue(t.getMessage().startsWith("Incorrect character encountered at l.1, c.10: "));
} }
// But in a string, delimited identifier or a comment, it is fine: // But in a string, delimited identifier or a comment, it is fine:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment