Testament: refactoring; makes the test joiner green

This commit is contained in:
Araq 2018-12-06 16:37:56 +01:00
commit 3b783f7e13
28 changed files with 176 additions and 230 deletions

View file

@ -85,13 +85,13 @@ block tnestif:
if x == 0:
write(stdout, "i == 0")
if y == 0:
write(stdout, x)
writeLine(stdout, x)
else:
write(stdout, y)
writeLine(stdout, y)
elif x == 1:
write(stdout, "i == 1")
writeLine(stdout, "i == 1")
elif x == 2:
write(stdout, "i == 2")
writeLine(stdout, "i == 2")
else:
write(stdout, "looks like Python")
writeLine(stdout, "looks like Python")
#OUT i == 2