File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15627,7 +15627,7 @@ var a = "test2";
15627
15627
const code = BROKEN_TEST_CODE;
15628
15628
15629
15629
it("should report a violation with a useful parse error prefix", () => {
15630
- const messages = linter.verify(code);
15630
+ const messages = linter.verify(code, {} );
15631
15631
const suppressedMessages = linter.getSuppressedMessages();
15632
15632
15633
15633
assert.strictEqual(messages.length, 1);
@@ -15648,7 +15648,7 @@ var a = "test2";
15648
15648
" x++;",
15649
15649
"}"
15650
15650
];
15651
- const messages = linter.verify(inValidCode.join("\n"));
15651
+ const messages = linter.verify(inValidCode.join("\n"), {} );
15652
15652
const suppressedMessages = linter.getSuppressedMessages();
15653
15653
15654
15654
assert.strictEqual(messages.length, 1);
@@ -16584,7 +16584,7 @@ var a = "test2";
16584
16584
});
16585
16585
16586
16586
it("should not crash when invalid parentheses syntax is encountered", () => {
16587
- linter.verify("left = (aSize.width/2) - ()");
16587
+ linter.verify("left = (aSize.width/2) - ()", {} );
16588
16588
});
16589
16589
16590
16590
it("should not crash when let is used inside of switch case", () => {
You can’t perform that action at this time.
0 commit comments