Skip to content

Commit f4d8830

Browse files
committed
Fix failing tests
1 parent 15ea8d1 commit f4d8830

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/unit/loops.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ for (const testCase of [
555555
[tstl.LuaTarget.Lua52]: expectContinueGotoLabel,
556556
[tstl.LuaTarget.Lua53]: expectContinueGotoLabel,
557557
[tstl.LuaTarget.Lua54]: expectContinueGotoLabel,
558+
[tstl.LuaTarget.Lua55]: expectContinueGotoLabel,
558559
[tstl.LuaTarget.LuaJIT]: expectContinueGotoLabel,
559560
[tstl.LuaTarget.Luau]: () => expectContinueStatement,
560561
});

test/unit/spread.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ describe("in function call", () => {
8181
[tstl.LuaTarget.Lua52]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
8282
[tstl.LuaTarget.Lua53]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
8383
[tstl.LuaTarget.Lua54]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
84+
[tstl.LuaTarget.Lua55]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
8485
[tstl.LuaTarget.Luau]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
8586
}
8687
);
@@ -95,6 +96,7 @@ describe("in array literal", () => {
9596
[tstl.LuaTarget.Lua52]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
9697
[tstl.LuaTarget.Lua53]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
9798
[tstl.LuaTarget.Lua54]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
99+
[tstl.LuaTarget.Lua55]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
98100
[tstl.LuaTarget.Luau]: builder => builder.tap(expectTableUnpack).expectToMatchJsResult(),
99101
});
100102

0 commit comments

Comments
 (0)