aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_jsinterp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_jsinterp.py')
-rw-r--r--test/test_jsinterp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_jsinterp.py b/test/test_jsinterp.py
index b46d0949d..92ef532f5 100644
--- a/test/test_jsinterp.py
+++ b/test/test_jsinterp.py
@@ -387,7 +387,7 @@ class TestJSInterpreter(unittest.TestCase):
''')
self.assertEqual(jsi.call_function('x').flags & re.I, re.I)
- jsi = JSInterpreter('''
+ jsi = JSInterpreter(R'''
function x() { let a=/,][}",],()}(\[)/; return a; }
''')
self.assertEqual(jsi.call_function('x').pattern, r',][}",],()}(\[)')