Skip to content

Commit

Permalink
Update luau tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SnorlaxAssist committed Sep 23, 2024
1 parent fbaa38c commit c2832f1
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/Calls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 24; 0 4 1 0 0 11 3 7 2 0 [] 1 [11,11,11,11,11,11,11,] {
3; 24; 0 4 1 0 0 11 3 7 2 0 [] 1 [11,11,11,11,11,11,11,] {
7 1 1 0 1 ? ? ? ? 1 ? ? ? ? ? 1; ~ 0; 6 2 0 ? 3 0 ? ? ? ? ? ? ? ? ? ?; 20 3 1 1 1 1 153 ? ? 2 ? ? ? ? ? 1
~ 1; 21 3 0 ? 1 3 0 ? ? ? ? ? ? ? ? ?; 22 2 0 ? 1 0 ? ? ? ? ? ? ? ? ? ?
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/Constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 2; 0 0 0 0 0 14 1 1 0 0 [] 1 [14,] {
3; 2; 0 0 0 0 0 14 1 1 0 0 [] 1 [14,] {
22 2 0 ? 0 1 ? ? ? ? ? ? ? ? ? ?
}
1 12 0 0 1 1 ? 113 20 1 [1,] 1 [1,4,6,8,10,12,12,12,12,12,12,12,14,16,16,16,16,17,17,17,17,20,20,20,20,20,21,21,21,21,21,22,22,22,22,22,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,29,29,29,30,] {
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/DupClosure.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 4; 0 4 0 3 0 7 2 9 2 0 [] 1 [8,8,8,8,8,8,8,9,9,] {
3; 4; 0 4 0 3 0 7 2 9 2 0 [] 1 [8,8,8,8,8,8,8,9,9,] {
3 3 0 ? 1 1 0 ? ? ? ? ? ? ? ? ?; 3 3 0 ? 2 1 0 ? ? ? ? ? ? ? ? ?; 3 3 0 ? 3 1 0 ? ? ? ? ? ? ? ? ?; 68 3 0 ? 1 0 2 ? ? ? ? ? ? ? ? ?
12 4 4 1073741824 0 ? ? 1 ? ? 1 ? ? ? 1 1; ~ 1073741824; 21 3 0 ? 0 4 1 ? ? ? ? ? ? ? ? ?; 4 4 0 ? 0 ? ? 6 ? ? ? ? ? ? ? ?
22 2 0 ? 0 2 ? ? ? ? ? ? ? ? ? ?
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/Lists.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 1; 0 11 0 0 1 1 ? 84 18 0 [] 1 [1,5,5,5,5,5,5,5,5,5,5,5,5,5,5,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,12,12,12,12,13,15,15,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,19,20,20,20,20,20,20,20,20,20,20,22,22,22,23,] {
3; 1; 0 11 0 0 1 1 ? 84 18 0 [] 1 [1,5,5,5,5,5,5,5,5,5,5,5,5,5,5,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,12,12,12,12,13,15,15,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,19,20,20,20,20,20,20,20,20,20,20,22,22,22,23,] {
65 1 0 ? 0 ? ? ? ? ? ? ? ? ? ? ?; 53 2 0 10 0 0 ? ? ? ? ? ? ? ? ? 1; ~ 10; 4 4 0 ? 1 ? ? 1 ? ? ? ? ? ? ? ?
4 4 0 ? 2 ? ? 2 ? ? ? ? ? ? ? ?; 4 4 0 ? 3 ? ? 3 ? ? ? ? ? ? ? ?; 4 4 0 ? 4 ? ? 4 ? ? ? ? ? ? ? ?; 4 4 0 ? 5 ? ? 5 ? ? ? ? ? ? ? ?
4 4 0 ? 6 ? ? 6 ? ? ? ? ? ? ? ?; 4 4 0 ? 7 ? ? 7 ? ? ? ? ? ? ? ?; 4 4 0 ? 8 ? ? 8 ? ? ? ? ? ? ? ?; 4 4 0 ? 9 ? ? 9 ? ? ? ? ? ? ? ?
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 2; 0 1 1 0 0 3 1 1 0 0 [] 1 [4,] {
3; 2; 0 1 1 0 0 3 1 1 0 0 [] 1 [4,] {
22 2 0 ? 0 2 ? ? ? ? ? ? ? ? ? ?
}
1 9 0 0 1 1 ? 360 48 1 [1,] 1 [1,3,10,13,13,13,13,266,269,269,269,269,522,525,525,525,525,529,530,530,530,531,786,789,789,789,789,789,789,789,789,789,789,792,1028,1028,1050,1050,1050,1050,1050,1052,1054,1054,1054,1054,1054,1054,1054,1054,1054,1054,1057,1284,1284,1315,1315,1315,1315,1315,1317,1319,1319,1319,1319,1319,1319,1319,1319,1319,1319,1322,1540,1540,1540,1540,1580,1580,1580,1580,1580,1582,1584,1584,1584,1584,1584,1584,1584,1584,1584,1584,1796,1796,1796,1796,1796,1796,1796,1796,1796,1796,1796,1796,1796,1841,1841,1841,1844,2052,2052,2052,2052,2102,2102,2102,2102,2102,2104,2106,2106,2106,2106,2106,2106,2106,2106,2106,2106,2308,2308,2308,2308,2308,2308,2308,2308,2308,2308,2308,2308,2308,2363,2363,2363,2366,2564,2564,2564,2564,2624,2624,2624,2624,2624,2626,2628,2628,2628,2628,2628,2628,2628,2628,2628,2628,2631,2820,2820,2820,2820,2889,2889,2889,2889,2889,2891,2893,2893,2893,2893,2893,2893,2893,2893,2893,2893,2896,3076,3076,3076,3076,3154,3154,3154,3154,3154,3156,3158,3158,3158,3158,3158,3158,3158,3158,3158,3158,3161,3332,3332,3332,3332,3419,3419,3419,3419,3419,3421,3423,3423,3423,3423,3423,3423,3423,3423,3423,3423,3426,3431,3431,3431,3431,3431,3431,3431,3431,3431,3684,3687,3687,3689,3689,3689,3689,3689,3689,3689,3689,3689,3689,3692,3697,3697,3697,3697,3697,3697,3697,3697,3697,3697,3950,3953,3955,3955,3955,3955,3955,3955,3955,3955,3955,3955,4100,4100,4100,4100,4100,4100,4100,4100,4212,4212,4212,4356,4356,4356,4356,4356,4356,4356,4356,4356,4356,4356,4356,4469,4469,4469,4472,4473,4474,4474,4474,4474,4475,4475,4478,4478,4478,4479,4730,4737,4737,4737,4737,4737,4737,4737,4737,4737,4737,4738,4738,4738,4738,4738,4738,4738,4738,4738,4738,4868,4868,4868,4868,4868,4868,4868,4868,4995,4995,4995,5124,5124,5124,5124,5124,5124,5124,5124,5252,5252,5252,5254,5254,5254,5255,] {
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/Loops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 5; 0 4 3 0 0 60 1 6 1 0 [] 1 [61,61,61,62,64,64,] {
3; 5; 0 4 3 0 0 60 1 6 1 0 [] 1 [61,61,61,62,64,64,] {
4 4 0 ? 3 ? ? 10 ? ? ? ? ? ? ? ?; 31 4 0 2 3 ? ? 2 ? ? ? ? ? ? ? 1; ~ 2; 22 2 0 ? 0 1 ? ? ? ? ? ? ? ? ? ?
39 3 2 ? 3 2 0 ? ? 1 ? ? ? ? ? ?; 22 2 0 ? 3 2 ? ? ? ? ? ? ? ? ? ?
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/Math.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 1; 0 6 0 0 1 1 ? 248 29 0 [] 1 [1,3,3,5,5,5,6,6,6,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,22,22,22,22,22,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,32,32,32,32,32,35,35,35,35,35,35,35,35,35,35,35,35,35,37,37,37,37,37,37,37,37,37,37,37,37,37,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,42,42,42,42,42,42,42,42,42,42,42,42,42,45,45,45,45,45,45,45,45,45,45,45,45,45,47,47,47,48,] {
3; 1; 0 6 0 0 1 1 ? 248 29 0 [] 1 [1,3,3,5,5,5,6,6,6,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,22,22,22,22,22,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,32,32,32,32,32,35,35,35,35,35,35,35,35,35,35,35,35,35,37,37,37,37,37,37,37,37,37,37,37,37,37,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,42,42,42,42,42,42,42,42,42,42,42,42,42,45,45,45,45,45,45,45,45,45,45,45,45,45,47,47,47,48,] {
65 1 0 ? 0 ? ? ? ? ? ? ? ? ? ? ?; 53 2 0 0 0 2 ? ? ? ? ? ? ? ? ? 1; ~ 0; 4 4 0 ? 1 ? ? 1 ? ? ? ? ? ? ? ?
16 3 1 0 1 0 128 ? ? 1 ? ? ? ? ? 1; ~ 0; 4 4 0 ? 1 ? ? 2 ? ? ? ? ? ? ? ?; 16 3 1 1 1 0 131 ? ? 2 ? ? ? ? ? 1
~ 1; 15 3 1 0 4 0 128 ? ? 1 ? ? ? ? ? 1; ~ 0; 15 3 1 1 5 0 131 ? ? 2 ? ? ? ? ? 1
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/NewClosure.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 4; 0 4 0 3 0 10 2 9 2 0 [] 1 [11,11,11,11,11,11,11,12,12,] {
3; 4; 0 4 0 3 0 10 2 9 2 0 [] 1 [11,11,11,11,11,11,11,12,12,] {
3 3 0 ? 1 1 0 ? ? ? ? ? ? ? ? ?; 3 3 0 ? 2 1 0 ? ? ? ? ? ? ? ? ?; 3 3 0 ? 3 1 0 ? ? ? ? ? ? ? ? ?; 68 3 0 ? 1 0 2 ? ? ? ? ? ? ? ? ?
12 4 4 1073741824 0 ? ? 1 ? ? 1 ? ? ? 1 1; ~ 1073741824; 21 3 0 ? 0 4 1 ? ? ? ? ? ? ? ? ?; 4 4 0 ? 0 ? ? 6 ? ? ? ? ? ? ? ?
22 2 0 ? 0 2 ? ? ? ? ? ? ? ? ? ?
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/SetGet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 1; 0 6 0 0 1 1 ? 125 29 0 [] 1 [1,3,3,6,6,6,8,8,8,8,8,8,8,8,8,8,8,8,11,11,13,13,13,13,13,13,13,13,13,13,13,16,16,17,17,19,19,19,19,19,19,19,19,19,19,19,22,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,31,] {
3; 1; 0 6 0 0 1 1 ? 125 29 0 [] 1 [1,3,3,6,6,6,8,8,8,8,8,8,8,8,8,8,8,8,11,11,13,13,13,13,13,13,13,13,13,13,13,16,16,17,17,19,19,19,19,19,19,19,19,19,19,19,22,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,31,] {
65 1 0 ? 0 ? ? ? ? ? ? ? ? ? ? ?; 53 2 0 1 0 1 ? ? ? ? ? ? ? ? ? 1; ~ 1; 4 4 0 ? 1 ? ? 123 ? ? ? ? ? ? ? ?
16 3 1 0 1 0 47 ? ? 1 ? ? ? ? ? 1; ~ 0; 15 3 1 0 3 0 47 ? ? 1 ? ? ? ? ? 1; ~ 0
79 4 6 1 3 ? ? 2 ? 2 ? ? ? 0 ? 1; ~ 1; 3 3 0 ? 2 0 1 ? ? ? ? ? ? ? ? ?; 3 3 0 ? 2 1 0 ? ? ? ? ? ? ? ? ?
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/Strings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 1; 0 7 0 0 1 1 ? 42 13 0 [] 1 [1,3,4,7,7,7,9,9,9,9,9,9,9,9,9,9,9,9,9,9,11,14,14,14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,19,] {
3; 1; 0 7 0 0 1 1 ? 42 13 0 [] 1 [1,3,4,7,7,7,9,9,9,9,9,9,9,9,9,9,9,9,9,9,11,14,14,14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,19,] {
65 1 0 ? 0 ? ? ? ? ? ? ? ? ? ? ?; 5 4 3 ? 0 ? ? 0 ? 1 ? ? ? ? ? ?; 5 4 3 ? 1 ? ? 1 ? 2 ? ? ? ? ? ?; 5 4 3 ? 3 ? ? 0 ? 1 ? ? ? ? ? ?
5 4 3 ? 4 ? ? 1 ? 2 ? ? ? ? ? ?; 49 3 0 ? 2 3 4 ? ? ? ? ? ? ? ? ?; 3 3 0 ? 4 0 0 ? ? ? ? ? ? ? ? ?; 80 4 6 2147483650 2 ? ? 6 ? 3 ? ? ? 1 ? 1
~ 2147483650; 52 2 0 ? 5 2 ? ? ? ? ? ? ? ? ? ?; 79 4 6 3 5 ? ? 2 ? 4 ? ? ? 0 ? 1; ~ 3
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/UpValues.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 14; 0 1 0 1 0 5 1 2 0 0 [] 1 [6,6,] {
3; 14; 0 1 0 1 0 5 1 2 0 0 [] 1 [6,6,] {
4 4 0 ? 0 ? ? 1 ? ? ? ? ? ? ? ?; 22 2 0 ? 0 2 ? ? ? ? ? ? ? ? ? ?
}
1 2 0 0 0 10 3 3 0 0 [] 1 [11,262,262,] {
Expand Down
2 changes: 1 addition & 1 deletion tests/Conformance/Deserializer/Instructions/Vararg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if not ok then
end

local encodedModule, constantList, stringList = [[
2; 4; 0 2 0 0 1 3 1 7 0 0 [] 1 [3,4,4,4,4,4,4,] {
3; 4; 0 2 0 0 1 3 1 7 0 0 [] 1 [3,4,4,4,4,4,4,] {
65 1 0 ? 0 ? ? ? ? ? ? ? ? ? ? ?; 53 2 0 0 0 0 ? ? ? ? ? ? ? ? ? 1; ~ 0; 63 2 0 ? 1 0 ? ? ? ? ? ? ? ? ? ?
55 3 0 1 0 1 0 ? ? ? ? ? ? ? ? 1; ~ 1; 22 2 0 ? 0 2 ? ? ? ? ? ? ? ? ? ?
}
Expand Down

0 comments on commit c2832f1

Please sign in to comment.