diff options
author | dirkf <fieldhouse@gmx.net> | 2025-04-04 12:20:15 +0100 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2025-04-08 01:59:00 +0100 |
commit | d21717978cff5321ca279593340051d4bc73c129 (patch) | |
tree | 0b1189a44ff0610a95eb5e52a37cfa99569be4fa /test | |
parent | 75134137947d1cd58b73f4186b3693d032c5bb66 (diff) |
[JSInterp] Improve JS classes, etc
Diffstat (limited to 'test')
-rw-r--r-- | test/test_jsinterp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_jsinterp.py b/test/test_jsinterp.py index b0ac3a704..30c48adfc 100644 --- a/test/test_jsinterp.py +++ b/test/test_jsinterp.py @@ -455,6 +455,7 @@ class TestJSInterpreter(unittest.TestCase): def test_regex(self): self._test('function f() { let a=/,,[/,913,/](,)}/; }', None) + self._test('function f() { let a=/,,[/,913,/](,)}/; return a.source; }', ',,[/,913,/](,)}') jsi = JSInterpreter(''' function x() { let a=/,,[/,913,/](,)}/; "".replace(a, ""); return a; } |