Skip to content

Commit c7a9fdb

Browse files
committed
Change bad syntax test
1 parent a23ecd1 commit c7a9fdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/language/__tests__/lexer-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ describe('Lexer', () => {
166166
});
167167

168168
it('reports unexpected characters', () => {
169-
expectSyntaxError('.').to.deep.equal({
170-
message: 'Syntax Error: Unexpected character: ".".',
169+
expectSyntaxError('^').to.deep.equal({
170+
message: 'Syntax Error: Unexpected character: "^".',
171171
locations: [{ line: 1, column: 1 }],
172172
});
173173
});

0 commit comments

Comments
 (0)