tanclary commented on code in PR #3369:
URL: https://github.com/apache/calcite/pull/3369#discussion_r1310568623


##########
core/src/test/java/org/apache/calcite/test/SqlFunctionsTest.java:
##########
@@ -254,18 +254,88 @@ static <E> List<E> list() {
       final boolean b = f.regexpContains("abc def ghi", "[z-a]");
       fail("expected error, got " + b);
     } catch (RuntimeException e) {
-      assertThat(e.getMessage(),
-          is("Invalid regular expression for REGEXP_CONTAINS: 'Illegal "
-              + "character range near index" + " 3 [z-a]    ^'"));
+      assertThat(
+          e.getMessage(), is("Invalid regular expression for REGEXP_CONTAINS: 
'Illegal "

Review Comment:
   Is this formatting right?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@calcite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to