diff --git a/test/test_blackbox.py b/test/test_blackbox.py index f5051ec36..f3079e8af 100644 --- a/test/test_blackbox.py +++ b/test/test_blackbox.py @@ -140,7 +140,7 @@ def test_translator_state_handling(self): r''' # Check if the translator curtailing the list of last translations # according to its dictionary longest key does no affect things - # like the restrospective repeate-last-stroke command. + # like the restrospective repeat-last-stroke command. "TEFT": "test", "R*S": "{*+}", @@ -1192,3 +1192,21 @@ def test_raw_1b(self): * ' RAU' * '' ''' + + def test_bug287(self): + r''' + "*6": "a", + "R*S": "{*+}", + + *6 ' a' + R*S ' a a' + ''' + + def test_bug470(self): + r''' + "0EU8": "80", + "R*S": "{*+}", + + 0EU8 ' 80' + R*S ' 8080' + '''