Support discarding the CST to preserve memory #2586
Annotations
3 errors and 1 warning
Test:
packages/langium/test/grammar/lsp/grammar-formatter.test.ts#L19
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
'interface Test {\r\n' +
' // This is a comment\r\n' +
+ 'a: string\r\n' +
- ' a: string\r\n' +
' b: number\r\n' +
' // This is another comment\r\n' +
+ ' c: boolean\r\n' +
- ' c: boolean\r\n' +
'}'
- Expected
+ Received
interface Test {
// This is a comment
- a: string
+ a: string
b: number
// This is another comment
- c: boolean
+ c: boolean
}
❯ expectedFunction packages/langium/src/test/langium-test.ts:54:12
❯ packages/langium/src/test/langium-test.ts:489:9
❯ packages/langium/test/grammar/lsp/grammar-formatter.test.ts:19:9
|
Test:
packages/langium/test/grammar/lsp/grammar-formatter.test.ts#L88
AssertionError: expected 2 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 2
❯ packages/langium/test/grammar/lsp/grammar-formatter.test.ts:88:30
|
Test
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading