1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 03:39:53 +03:00
aports/community/ucode/tests-regex-musl-compat.patch
2025-04-25 19:43:41 +00:00

42 lines
720 B
Diff

Remove one test that fails on musl libc.
Syntax error: Unknown collating element
In line 4, byte 3:
` /[[./.]/]/,`
^-- Near here
--- a/tests/custom/00_syntax/21_regex_literals
+++ b/tests/custom/00_syntax/21_regex_literals
@@ -94,31 +94,6 @@
%}
-- End --
-
-Testing that slashes within character classes are not treated as regex
-literal delimitters.
-
--- Expect stdout --
-[
- "/[/]/",
- "/[[./.]/]/",
- "/[[:alpha:]/]/",
- "/[[=/=]/]/"
-]
--- End --
-
--- Testcase --
-{%
- printf("%.J\n", [
- /[/]/,
- /[[./.]/]/,
- /[[:alpha:]/]/,
- /[[=/=]/]/
- ]);
-%}
--- End --
-
-
Testing that regex extension macros are substituted only outside of
bracket set expressions.