Skip to content

Commit

Permalink
Merge pull request #832 from benoit-pierre/add_blackbox_tests_for_287…
Browse files Browse the repository at this point in the history
…_and_470

Add blackbox tests for #287 and #470
  • Loading branch information
morinted authored Nov 12, 2017
2 parents fd5d226 + ec67311 commit 0c701b2
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion test/test_blackbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": "{*+}",
Expand Down Expand Up @@ -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'
'''

0 comments on commit 0c701b2

Please sign in to comment.