Skip to content

Commit c33a512

Browse files
committed
Fix test
Signed-off-by: Moritz Hoffmann <mh@materialize.com>
1 parent cee6085 commit c33a512

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/sqllogictest/regex.slt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -734,11 +734,8 @@ EXPLAIN OPTIMIZED PLAN WITH (humanized expressions) AS VERBOSE TEXT FOR
734734
SELECT s, regexp_replace(s, 'b(..', replacement, 'ig') FROM e;
735735
----
736736
Explained Query:
737-
Project (#0{s}, #3)
738-
Map (regexp_replace[EvalError]: invalid regular expression: regex parse error:
739-
b(..
740-
^
741-
error: unclosed group(#0{s}, #2{replacement}))
737+
Map (error("invalid regular expression: regex parse error:\n b(..\n ^\nerror: unclosed group"))
738+
Project (#0{s})
742739
ReadStorage materialize.public.e
743740

744741
Source materialize.public.e

0 commit comments

Comments
 (0)