From 35f00f72b3bad1025453181f785c20c9945dda36 Mon Sep 17 00:00:00 2001 From: Han Fei Date: Tue, 16 May 2023 22:42:43 +0200 Subject: [PATCH] add functional test --- tests/queries/0_stateless/02751_match_constant_needle.reference | 1 + tests/queries/0_stateless/02751_match_constant_needle.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/queries/0_stateless/02751_match_constant_needle.reference create mode 100644 tests/queries/0_stateless/02751_match_constant_needle.sql diff --git a/tests/queries/0_stateless/02751_match_constant_needle.reference b/tests/queries/0_stateless/02751_match_constant_needle.reference new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/tests/queries/0_stateless/02751_match_constant_needle.reference @@ -0,0 +1 @@ +1 diff --git a/tests/queries/0_stateless/02751_match_constant_needle.sql b/tests/queries/0_stateless/02751_match_constant_needle.sql new file mode 100644 index 00000000000..71bdcc7cb0a --- /dev/null +++ b/tests/queries/0_stateless/02751_match_constant_needle.sql @@ -0,0 +1 @@ +select match('default/k8s1', '\\A(?:(?:[-0-9_a-z]+(?:\\.[-0-9_a-z]+)*)/k8s1)\\z');