Skip to content

Commit 21c21e7

Browse files
committed
Fixed tests that were borken because JIT is now lowecase (jit)
1 parent 9136e15 commit 21c21e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/unit/expressions.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ export class ExpressionTests {
322322
const identifier = ts.createIdentifier("fromCodePoint");
323323
Expect(() => transpiler.transpileStringExpression(identifier))
324324
.toThrowError(TranspileError, "string property fromCodePoint is/are not supported " +
325-
"for target Lua JIT.");
325+
"for target Lua jit.");
326326
}
327327

328328
@Test("Unknown string expression error")
@@ -331,7 +331,7 @@ export class ExpressionTests {
331331

332332
const identifier = ts.createIdentifier("abcd");
333333
Expect(() => transpiler.transpileStringExpression(identifier))
334-
.toThrowError(TranspileError, "string property abcd is/are not supported for target Lua JIT.");
334+
.toThrowError(TranspileError, "string property abcd is/are not supported for target Lua jit.");
335335
}
336336

337337
@Test("Unsupported array function error")

0 commit comments

Comments
 (0)