There was an error while loading. Please reload this page.
1 parent d38e4d2 commit 0cf95fdCopy full SHA for 0cf95fd
1 file changed
test/util.ts
@@ -76,22 +76,6 @@ export function testEachVersion<T extends TestBuilder>(
76
}
77
78
79
-export function expectAllVersions<T>(
80
- expectation: (builder: T) => void
81
-): Record<tstl.LuaTarget, (builder: T) => void> {
82
- return {
83
- [tstl.LuaTarget.Universal]: expectation,
84
- [tstl.LuaTarget.Lua50]: expectation,
85
- [tstl.LuaTarget.Lua51]: expectation,
86
- [tstl.LuaTarget.Lua52]: expectation,
87
- [tstl.LuaTarget.Lua53]: expectation,
88
- [tstl.LuaTarget.Lua54]: expectation,
89
- [tstl.LuaTarget.Lua55]: expectation,
90
- [tstl.LuaTarget.LuaJIT]: expectation,
91
- [tstl.LuaTarget.Luau]: expectation,
92
- };
93
-}
94
-
95
export function expectEachVersionExceptJit<T>(
96
expectation: (builder: T) => void
97
): Record<tstl.LuaTarget, ((builder: T) => void) | boolean> {
0 commit comments