Commit 5e0f82de authored by gmantele's avatar gmantele
Browse files

[ADQL] Complete the previous commit 33a790a4

parent 33a790a4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -171,9 +171,9 @@ public class TestADQLParser {

		// But in a string, delimited identifier or a comment, it is fine:
		try{
			(new ADQLParser()).parseQuery("select 'grégory' FROM aTable");
			(new ADQLParser()).parseQuery("select \"grégory\" FROM aTable");
			(new ADQLParser()).parseQuery("select * FROM aTable -- a comment by Grégory");
			(new ADQLParser()).parseQuery("select 'gr\u00e9gory' FROM aTable");
			(new ADQLParser()).parseQuery("select \"gr\u00e9gory\" FROM aTable");
			(new ADQLParser()).parseQuery("select * FROM aTable -- a comment by Gr\u00e9gory");
		}catch(Throwable t){
			fail("This error should never occurs because all these queries have an accentuated character but at a correct place.");
		}