We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d8f38a commit 6056f80Copy full SHA for 6056f80
1 file changed
src/language/__tests__/lexer-test.ts
@@ -165,6 +165,13 @@ describe('Lexer', () => {
165
});
166
167
168
+ it('reports unexpected characters', () => {
169
+ expectSyntaxError('.').to.deep.equal({
170
+ message: 'Syntax Error: Unexpected character: ".".',
171
+ locations: [{ line: 1, column: 1 }],
172
+ });
173
174
+
175
it('errors respect whitespace', () => {
176
let caughtError;
177
try {
0 commit comments