From e6b08799a0be9d5489f852fe3f51945120d43867 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 8 May 2020 02:34:48 +0300 Subject: [PATCH] Update test --- tests/queries/0_stateless/01246_extractAllGroups.reference | 1 - tests/queries/0_stateless/01246_extractAllGroups.sql | 2 +- tests/queries/0_stateless/01273_extractGroups.reference | 1 - tests/queries/0_stateless/01273_extractGroups.sql | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/queries/0_stateless/01246_extractAllGroups.reference b/tests/queries/0_stateless/01246_extractAllGroups.reference index 385b1226bcb..983e3838ee5 100644 --- a/tests/queries/0_stateless/01246_extractAllGroups.reference +++ b/tests/queries/0_stateless/01246_extractAllGroups.reference @@ -1,5 +1,4 @@ 0 groups, zero matches -[[],[]] 1 group, multiple matches, String and FixedString [['hello'],['world']] [['hello'],['world']] diff --git a/tests/queries/0_stateless/01246_extractAllGroups.sql b/tests/queries/0_stateless/01246_extractAllGroups.sql index 8972beffbe6..ade52117d76 100644 --- a/tests/queries/0_stateless/01246_extractAllGroups.sql +++ b/tests/queries/0_stateless/01246_extractAllGroups.sql @@ -7,7 +7,7 @@ SELECT extractAllGroups('hello world', '((('); --{serverError 427} invalid re SELECT extractAllGroups('hello world', materialize('\\w+')); --{serverError 44} non-const needle SELECT '0 groups, zero matches'; -SELECT extractAllGroups('hello world', '\\w+'); +SELECT extractAllGroups('hello world', '\\w+'); -- { serverError 36 } SELECT '1 group, multiple matches, String and FixedString'; SELECT extractAllGroups('hello world', '(\\w+)'); diff --git a/tests/queries/0_stateless/01273_extractGroups.reference b/tests/queries/0_stateless/01273_extractGroups.reference index 36012050e12..b6a502645e1 100644 --- a/tests/queries/0_stateless/01273_extractGroups.reference +++ b/tests/queries/0_stateless/01273_extractGroups.reference @@ -1,5 +1,4 @@ 0 groups, zero matches -[] 1 group, multiple matches, String and FixedString ['hello','world'] ['hello','world'] diff --git a/tests/queries/0_stateless/01273_extractGroups.sql b/tests/queries/0_stateless/01273_extractGroups.sql index f65e975c784..9dfca7e0adf 100644 --- a/tests/queries/0_stateless/01273_extractGroups.sql +++ b/tests/queries/0_stateless/01273_extractGroups.sql @@ -7,7 +7,7 @@ SELECT extractGroups('hello world', '((('); --{serverError 427} invalid re SELECT extractGroups('hello world', materialize('\\w+')); --{serverError 44} non-const needle SELECT '0 groups, zero matches'; -SELECT extractGroups('hello world', '\\w+'); +SELECT extractGroups('hello world', '\\w+'); -- { serverError 36 } SELECT '1 group, multiple matches, String and FixedString'; SELECT extractGroups('hello world', '(\\w+) (\\w+)');