diff --git a/tests/test_evaljs.py b/tests/test_evaljs.py index 36dd30f..3b4631d 100644 --- a/tests/test_evaljs.py +++ b/tests/test_evaljs.py @@ -30,8 +30,14 @@ class TestEvalJS(unittest.TestCase): assert s == 'čŊčŊ' def test_unicode_emoji(self): - s = dukpy.evaljs("dukpy.c + 'čŊ'", c="🏠") - assert s == '🏠čŊ' + s1 = dukpy.evaljs("dukpy.c + 'B'", c="🏠") + assert s1 == '🏠B' + + s2 = dukpy.evaljs("dukpy.c + 'C'", c="👍ðŸū") + assert s2 == '👍ðŸūC' + + s3 = dukpy.evaljs("dukpy.c + 'čŊ'", c="🏠") + assert s3 == '🏠čŊ' def test_eval_files(self): testfile = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'test.js')