Skip to content

Commit

Permalink
refs #22: change - test distinction between print and io.write (trail…
Browse files Browse the repository at this point in the history
…ing new line char)
  • Loading branch information
adrysn committed Oct 22, 2016
1 parent 9c13d38 commit b83fdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class Lua5ImageTest(ImageTestBase, unittest.TestCase):
image_name = 'kernel-lua5'

def basic_success(self):
yield 'print("hello world")', 'hello world'
yield 'print("hello world")', 'hello world\n'
yield 'io.write("hello world")', 'hello world'
yield 'a = 1; b = 2; c = a + b; print(c)', '3'

Expand Down

0 comments on commit b83fdd7

Please sign in to comment.