We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd0b845 commit 1822a13Copy full SHA for 1822a13
google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/StatementParserTest.java
@@ -154,6 +154,13 @@ public void testRemoveComments() {
154
+ "line\n"
155
+ "comment\n"
156
+ "*/SELECT \"FOO\nBAR\" FROM \"BAR\" WHERE name='test\ntest' and id=1"));
157
+ assertEquals(
158
+ "SELECT 1",
159
+ parser.removeCommentsAndTrim(
160
+ "/* This block comment surrounds a query which itself has a block comment...\n"
161
+ + "SELECT /* embedded single line */ 'embedded' AS x2;\n"
162
+ + "*/\n"
163
+ + "SELECT 1"));
164
}
165
166
0 commit comments