Commit 340bad72 authored by Jayke Meijer's avatar Jayke Meijer

Attempt 1 fixing unittest.

parent 5d9baa40
......@@ -123,8 +123,11 @@ class TestStatement(unittest.TestCase):
self.assertEqual(S('command', 'beq', 'a', 'b', 'L1').get_def(), [])
def test_get_use_true(self):
arg1 = ['$1']
arg2 = ['$1', '$2']
arg1 = set()
arg1.add('$1')
arg2 = set()
arg2.add('$1')
arg2.add('$2')
self.assertEqual(S('command', 'addu', '$3', '$1', '$2').get_use(), \
arg2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment