summaryrefslogtreecommitdiffstats
path: root/tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tests.patch')
-rw-r--r--tests.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests.patch b/tests.patch
new file mode 100644
index 0000000..6f679d5
--- /dev/null
+++ b/tests.patch
@@ -0,0 +1,15 @@
+diff -up src/test/njs_unit_test.c.old src/test/njs_unit_test.c
+--- src/test/njs_unit_test.c.old 2026-01-13 07:39:11.539231644 +0100
++++ src/test/njs_unit_test.c 2026-01-13 07:39:28.102421977 +0100
+@@ -11804,11 +11804,6 @@ static njs_unit_test_t njs_test[] =
+ njs_pcre_var("pcre_compile2(\"(\") failed: missing closing parenthesis at \"\" in 1",
+ "pcre_compile(\"(\") failed: missing ) in 1")) },
+
+- { njs_str("/+/.test('')"),
+- njs_str("SyntaxError: "
+- njs_pcre_var("pcre_compile2(\"+\") failed: quantifier does not follow a repeatable item at \"+\" in 1",
+- "pcre_compile(\"+\") failed: nothing to repeat at \"+\" in 1")) },
+-
+ { njs_str("/^$/.test('')"),
+ njs_str("true") },
+