Explorar o código

Changed test case for line() to a binary operator.

Sander Mathijs van Veen %!s(int64=14) %!d(string=hai) anos
pai
achega
fb5adcacf2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/test_parser.py

+ 1 - 1
tests/test_parser.py

@@ -22,4 +22,4 @@ class TestParser(unittest.TestCase):
         """).replace('\n        ', '\n')[1:-1]
 
     def test_line(self):
-        self.assertEqual(line(Parser, '4a'), '4 * a')
+        self.assertEqual(line(Parser, '4-a'), '4 - a')