Update RegExp unicode mode case folding to conform to the standard (#4004)
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai daniel.batyai@h-lab.eu
This commit is contained in:
@@ -359,3 +359,8 @@ try {
|
||||
} catch (e) {
|
||||
assert (e instanceof SyntaxError);
|
||||
}
|
||||
|
||||
assert(/\w/iu.test("ſ"));
|
||||
assert(/\w/iu.test("\u212a"));
|
||||
assert(/k/iu.test("\u212a"));
|
||||
assert(/\u{10c90}/iu.test("\u{10cd0}"));
|
||||
|
||||
@@ -338,7 +338,6 @@
|
||||
<test id="language/expressions/tagged-template/cache-identical-source-new-function.js"><reason></reason></test>
|
||||
<test id="language/expressions/tagged-template/constructor-invocation.js"><reason></reason></test>
|
||||
<test id="language/expressions/template-literal/invalid-legacy-octal-escape-sequence.js"><reason></reason></test>
|
||||
<test id="language/literals/regexp/u-case-mapping.js"><reason></reason></test>
|
||||
<test id="language/literals/string/7.8.4-1-s.js"><reason></reason></test>
|
||||
<test id="language/module-code/export-unresolvable.js"><reason></reason></test>
|
||||
<test id="language/statements/class/definition/methods.js"><reason></reason></test>
|
||||
|
||||
Reference in New Issue
Block a user