From c2832f1a6c078afcb5c148898ecb150a940cce86 Mon Sep 17 00:00:00 2001 From: Snorlax <57375992+SnorlaxAssist@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:38:59 +0000 Subject: [PATCH] Update luau tests --- tests/Conformance/Deserializer/Instructions/Calls.lua | 2 +- tests/Conformance/Deserializer/Instructions/Constants.lua | 2 +- tests/Conformance/Deserializer/Instructions/DupClosure.lua | 2 +- tests/Conformance/Deserializer/Instructions/Lists.lua | 2 +- tests/Conformance/Deserializer/Instructions/Logic.lua | 2 +- tests/Conformance/Deserializer/Instructions/Loops.lua | 2 +- tests/Conformance/Deserializer/Instructions/Math.lua | 2 +- tests/Conformance/Deserializer/Instructions/NewClosure.lua | 2 +- tests/Conformance/Deserializer/Instructions/SetGet.lua | 2 +- tests/Conformance/Deserializer/Instructions/Strings.lua | 2 +- tests/Conformance/Deserializer/Instructions/UpValues.lua | 2 +- tests/Conformance/Deserializer/Instructions/Vararg.lua | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/Conformance/Deserializer/Instructions/Calls.lua b/tests/Conformance/Deserializer/Instructions/Calls.lua index 248c531..797325a 100644 --- a/tests/Conformance/Deserializer/Instructions/Calls.lua +++ b/tests/Conformance/Deserializer/Instructions/Calls.lua @@ -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 ? ? ? ? ? ? ? ? ? ? } diff --git a/tests/Conformance/Deserializer/Instructions/Constants.lua b/tests/Conformance/Deserializer/Instructions/Constants.lua index e1037b5..c9a00d0 100644 --- a/tests/Conformance/Deserializer/Instructions/Constants.lua +++ b/tests/Conformance/Deserializer/Instructions/Constants.lua @@ -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,] { diff --git a/tests/Conformance/Deserializer/Instructions/DupClosure.lua b/tests/Conformance/Deserializer/Instructions/DupClosure.lua index f7a21a1..88b32ad 100644 --- a/tests/Conformance/Deserializer/Instructions/DupClosure.lua +++ b/tests/Conformance/Deserializer/Instructions/DupClosure.lua @@ -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 ? ? ? ? ? ? ? ? ? ? diff --git a/tests/Conformance/Deserializer/Instructions/Lists.lua b/tests/Conformance/Deserializer/Instructions/Lists.lua index 6eb9fa6..8492fd3 100644 --- a/tests/Conformance/Deserializer/Instructions/Lists.lua +++ b/tests/Conformance/Deserializer/Instructions/Lists.lua @@ -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 ? ? ? ? ? ? ? ? diff --git a/tests/Conformance/Deserializer/Instructions/Logic.lua b/tests/Conformance/Deserializer/Instructions/Logic.lua index b4fe1be..4f1c2ea 100644 --- a/tests/Conformance/Deserializer/Instructions/Logic.lua +++ b/tests/Conformance/Deserializer/Instructions/Logic.lua @@ -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,] { diff --git a/tests/Conformance/Deserializer/Instructions/Loops.lua b/tests/Conformance/Deserializer/Instructions/Loops.lua index 80ac129..4cd3bbf 100644 --- a/tests/Conformance/Deserializer/Instructions/Loops.lua +++ b/tests/Conformance/Deserializer/Instructions/Loops.lua @@ -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 ? ? ? ? ? ? ? ? ? ? } diff --git a/tests/Conformance/Deserializer/Instructions/Math.lua b/tests/Conformance/Deserializer/Instructions/Math.lua index b52d0cb..8cccdf9 100644 --- a/tests/Conformance/Deserializer/Instructions/Math.lua +++ b/tests/Conformance/Deserializer/Instructions/Math.lua @@ -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 diff --git a/tests/Conformance/Deserializer/Instructions/NewClosure.lua b/tests/Conformance/Deserializer/Instructions/NewClosure.lua index c5cf201..28a1594 100644 --- a/tests/Conformance/Deserializer/Instructions/NewClosure.lua +++ b/tests/Conformance/Deserializer/Instructions/NewClosure.lua @@ -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 ? ? ? ? ? ? ? ? ? ? diff --git a/tests/Conformance/Deserializer/Instructions/SetGet.lua b/tests/Conformance/Deserializer/Instructions/SetGet.lua index 40b5f50..1813087 100644 --- a/tests/Conformance/Deserializer/Instructions/SetGet.lua +++ b/tests/Conformance/Deserializer/Instructions/SetGet.lua @@ -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 ? ? ? ? ? ? ? ? ? diff --git a/tests/Conformance/Deserializer/Instructions/Strings.lua b/tests/Conformance/Deserializer/Instructions/Strings.lua index 0785f97..f34c6b1 100644 --- a/tests/Conformance/Deserializer/Instructions/Strings.lua +++ b/tests/Conformance/Deserializer/Instructions/Strings.lua @@ -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 diff --git a/tests/Conformance/Deserializer/Instructions/UpValues.lua b/tests/Conformance/Deserializer/Instructions/UpValues.lua index 8f41586..d74ed42 100644 --- a/tests/Conformance/Deserializer/Instructions/UpValues.lua +++ b/tests/Conformance/Deserializer/Instructions/UpValues.lua @@ -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,] { diff --git a/tests/Conformance/Deserializer/Instructions/Vararg.lua b/tests/Conformance/Deserializer/Instructions/Vararg.lua index 6e9a7c0..70ad1f6 100644 --- a/tests/Conformance/Deserializer/Instructions/Vararg.lua +++ b/tests/Conformance/Deserializer/Instructions/Vararg.lua @@ -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 ? ? ? ? ? ? ? ? ? ? }