diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-07-01 17:51:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 22:51:27 +0000 |
commit | 6aaf96a3d6e7d0d426e97e11a2fcf52fda00e733 (patch) | |
tree | 69672ff4be314bd55650fac1e9a97280cecd61e0 /test/test_jsinterp.py | |
parent | d4b99a233314bf31f9c842035ea9884673d5313a (diff) |
[cleanup] Misc (#10075)
Closes #10303
Authored by: bashonly, seproDev, jucor, c-basalt
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: Julien Cornebise <julien@cornebise.com>
Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com>
Diffstat (limited to 'test/test_jsinterp.py')
-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 86928a6a0..7c556e461 100644 --- a/test/test_jsinterp.py +++ b/test/test_jsinterp.py @@ -92,6 +92,7 @@ class TestJSInterpreter(unittest.TestCase): self._test('function f(){return 0 && 1 || 2;}', 2) self._test('function f(){return 0 ?? 42;}', 0) self._test('function f(){return "life, the universe and everything" < 42;}', False) + self._test('function f(){return 0 - 7 * - 6;}', 42) def test_array_access(self): self._test('function f(){var x = [1,2,3]; x[0] = 4; x[0] = 5; x[2.0] = 7; return x;}', [5, 2, 7]) |