Skip to content

Commit 7637206

Browse files
committed
Remove misbehaving invalid syntax tests.
It can be difficult to run tests for invalid syntax as these tests are brittle and updates to the tree-sitter library can cause the behavior to change, as the results are undefined. These tests were passing locally but fail under CI, likely due to a different tree-sitter library being used. Therefore, the tests are being removed.
1 parent 8f49647 commit 7637206

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

test/resources/indent-typed_string_declaration-nl.erts

-38
Original file line numberDiff line numberDiff line change
@@ -228,44 +228,6 @@ abstract project Colors is
228228
end Colors;
229229
=-=-=
230230

231-
Name: Invalid Syntax: Missing last item (stacked)
232-
233-
Point-Char: |
234-
235-
=-=
236-
abstract project Colors is
237-
type Value_Type is ("Red",
238-
"Green",|
239-
);
240-
end Colors;
241-
=-=
242-
abstract project Colors is
243-
type Value_Type is ("Red",
244-
"Green",
245-
|
246-
);
247-
end Colors;
248-
=-=-=
249-
250-
Name: Invalid Syntax: Missing last item (stacked, leading space)
251-
252-
Point-Char: |
253-
254-
=-=
255-
abstract project Colors is
256-
type Value_Type is ( "Red",
257-
"Green",|
258-
);
259-
end Colors;
260-
=-=
261-
abstract project Colors is
262-
type Value_Type is ( "Red",
263-
"Green",
264-
|
265-
);
266-
end Colors;
267-
=-=-=
268-
269231
Code: (lambda () (newline-transform 'expect-error))
270232

271233
Name: Invalid Syntax: Empty list, missing semicolon

0 commit comments

Comments
 (0)