Skip to content

Commit e6c43f9

Browse files
committed
fixing the tests after merging dansanderson#101
1 parent b090d19 commit e6c43f9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/pico8/lua/count_test.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ def = 456
6565
{'code':'''for x=1,10,2 do
6666
abc = 123
6767
end
68-
''', 'tokens': 12, 'chars': 32},
68+
''', 'tokens': 10, 'chars': 32},
6969
{'code':'''for a,b,c in 1,2,3 do
7070
abc = 123
7171
end
72-
''', 'tokens': 16, 'chars': 38},
72+
''', 'tokens': 12, 'chars': 38},
7373
{'code':'''function f()
7474
return 999
7575
end
@@ -78,8 +78,8 @@ def = 456
7878
return 999
7979
end
8080
''', 'tokens': 5, 'chars': 36},
81-
{'code':'local a,b,c\n', 'tokens': 5, 'chars': 12},
82-
{'code':'local a,b,c = 1,2,3\n', 'tokens': 11, 'chars': 20},
81+
{'code':'local a,b,c\n', 'tokens': 3, 'chars': 12},
82+
{'code':'local a,b,c = 1,2,3\n', 'tokens': 7, 'chars': 20},
8383
{'code':'''function f.a.b()
8484
return 999
8585
end
@@ -95,10 +95,10 @@ def = 456
9595
c=true
9696
''', 'tokens': 9, 'chars': 21},
9797
{'code':'a = 123\n', 'tokens': 3, 'chars': 8},
98-
{'code':'a = -123\n', 'tokens': 4, 'chars': 9},
98+
{'code':'a = -123\n', 'tokens': 3, 'chars': 9},
9999
{'code':'a = 123.45\n', 'tokens': 3, 'chars': 11},
100100
{'code':'a = 123.45e2\n', 'tokens': 4, 'chars': 13},
101-
{'code':'a = -123.45e2\n', 'tokens': 5, 'chars': 14},
101+
{'code':'a = -123.45e2\n', 'tokens': 4, 'chars': 14},
102102
{'code':'a = \'string\'\n', 'tokens': 3, 'chars': 13},
103103
{'code':'a = "string"\n', 'tokens': 3, 'chars': 13},
104104
{'code':'function f(...)\nend\n', 'tokens': 4, 'chars': 20},
@@ -107,7 +107,7 @@ def = 456
107107
{'code':'c = #a\n', 'tokens': 4, 'chars': 7},
108108
{'code':'c:m()\n', 'tokens': 3, 'chars': 6},
109109
{'code':'a = {}\n', 'tokens': 3, 'chars': 7},
110-
{'code':'a = {[a]=3;b=4,999}\n', 'tokens': 13, 'chars': 20},
110+
{'code':'a = {[a]=3;b=4,999}\n', 'tokens': 11, 'chars': 20},
111111
{'code':'print(a..b)\n', 'tokens': 5, 'chars': 12},
112112
{'code':'''goto label
113113
print('one')

0 commit comments

Comments
 (0)