Skip to content
Snippets Groups Projects
Commit 33a790a4 authored by gmantele's avatar gmantele
Browse files

[ADQL] Fix character encoding in JUnit test for ADQLParser.

parent 211787ad
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ public class TestADQLParser {
/* An identifier must be written only with digits, an underscore or
* regular latin characters: */
try{
(new ADQLParser()).parseQuery("select grégory FROM aTable");
(new ADQLParser()).parseQuery("select gr\u00e9gory FROM aTable");
}catch(Throwable t){
assertEquals(ParseException.class, t.getClass());
assertTrue(t.getMessage().startsWith("Incorrect character encountered at l.1, c.10: \"\\u00e9\" ('"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment