aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_jsinterp.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-09-01 16:49:03 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-09-01 16:49:03 +0530
commitd2c8aadf799a63aaa7da81ae03052b1ec2addd20 (patch)
treeb6c1e217d7098bea54c4de65ba0615c6ef93936f /test/test_jsinterp.py
parent1ac7f461845b3f9c0c3a2e6a1308bf82d3e8e55a (diff)
downloadhypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.tar.lz
hypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.tar.xz
hypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.zip
[cleanup] Misc
Closes #4710, Closes #4754, Closes #4723 Authored by: pukkandan, MrRawes, DavidH-2022
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',][}",],()}(\[)')