Skip to content

Commit 4805133

Browse files
authored
Merge pull request #25 from lstreckeisen/release/0.0.3
Release 0.0.3
2 parents a08eee6 + 135959c commit 4805133

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.yarn/install-state.gz

-2 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@lstreckeisen/context-mapper-language-server",
33
"description": "Langium language server for the ContextMapper DSL",
4-
"version": "0.0.2",
4+
"version": "0.0.3",
55
"license": "Apache-2.0",
66
"publishConfig": {
77
"registry": "https://npm.pkg.github.com"

test/parsing/ParsingTestHelper.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ export async function parseValidInput (parse: ReturnType<typeof parseHelper<Cont
77
const document = await parse(input)
88

99
expectNoParsingErrors(document)
10+
expect(document.parseResult.lexerErrors).toHaveLength(0)
11+
expect(document.diagnostics || []).toHaveLength(0)
12+
1013
return document
1114
}
1215

@@ -17,5 +20,5 @@ export async function parseInvalidInput (parse: ReturnType<typeof parseHelper<Co
1720
}
1821

1922
export function expectNoParsingErrors (document: LangiumDocument<ContextMappingModel>) {
20-
expect(document.parseResult.parserErrors.length).toEqual(0)
23+
expect(document.parseResult.parserErrors).toHaveLength(0)
2124
}

0 commit comments

Comments
 (0)