summaryrefslogtreecommitdiffstats
path: root/tests.patch
blob: 6f679d57d3cf1b031f16e89aa1aecae5958162ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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") },