Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz committed Jun 22, 2024
1 parent ce4911c commit 885e762
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 81 deletions.
6 changes: 2 additions & 4 deletions full-moon/tests/cases/fail/parser/function-7/ast.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
source: full-moon/tests/fail_cases.rs
assertion_line: 27
expression: result.ast
input_file: full-moon/tests/cases/fail/parser/function-7
expression: result.ast()
---
nodes:
stmts:
Expand Down Expand Up @@ -86,7 +84,7 @@ nodes:
parameters:
pairs:
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
4 changes: 1 addition & 3 deletions full-moon/tests/cases/pass/anonymous-functions-3/ast.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
source: full-moon/tests/pass_cases.rs
assertion_line: 52
expression: ast.nodes()
input_file: full-moon/tests/cases/pass/anonymous-functions-3
---
stmts:
- - LocalAssignment:
Expand Down Expand Up @@ -148,7 +146,7 @@ stmts:
parameters:
pairs:
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
4 changes: 1 addition & 3 deletions full-moon/tests/cases/pass/anonymous-functions-4/ast.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
source: full-moon/tests/pass_cases.rs
assertion_line: 52
expression: ast.nodes()
input_file: full-moon/tests/cases/pass/anonymous-functions-4
---
stmts:
- - LocalAssignment:
Expand Down Expand Up @@ -230,7 +228,7 @@ stmts:
type: Whitespace
characters: " "
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
5 changes: 2 additions & 3 deletions full-moon/tests/cases/pass/local-function-2/ast.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
source: full-moon/tests/pass_cases.rs
expression: ast.nodes()

---
stmts:
- - LocalFunction:
Expand Down Expand Up @@ -315,7 +314,7 @@ stmts:
parameters:
pairs:
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -554,7 +553,7 @@ stmts:
type: Whitespace
characters: " "
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
3 changes: 1 addition & 2 deletions full-moon/tests/cases/pass/multi-line-comments-6/ast.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
source: full-moon/tests/pass_cases.rs
expression: ast.nodes()

---
stmts:
- - LocalFunction:
Expand Down Expand Up @@ -117,7 +116,7 @@ stmts:
parameters:
pairs:
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
source: full-moon/tests/fail_cases.rs
expression: result.ast
expression: result.ast()
---
nodes:
stmts:
Expand Down Expand Up @@ -108,7 +108,7 @@ nodes:
type: Identifier
identifier: T
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -167,7 +167,7 @@ nodes:
type: Identifier
identifier: U
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
source: full-moon/tests/fail_cases.rs
expression: result.ast
expression: result.ast()
---
nodes:
stmts:
Expand Down Expand Up @@ -108,7 +108,7 @@ nodes:
type: Identifier
identifier: T
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
source: full-moon/tests/pass_cases.rs
expression: ast.nodes()

---
stmts:
- - TypeDeclaration:
Expand Down Expand Up @@ -1952,7 +1951,7 @@ stmts:
characters: " "
return_type:
Variadic:
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
4 changes: 2 additions & 2 deletions full-moon/tests/roblox_cases/pass/no_roblox_syntax/ast.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
source: full-moon/tests/pass_cases.rs
expression: ast.nodes()
input_file: full-moon/tests/roblox_cases/pass/no_roblox_syntax
---
stmts:
- - LocalAssignment:
Expand Down Expand Up @@ -1265,7 +1264,7 @@ stmts:
parameters:
pairs:
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -5623,3 +5622,4 @@ last_stmt:
type: Whitespace
characters: "\n"
- ~

8 changes: 4 additions & 4 deletions full-moon/tests/roblox_cases/pass/types/ast.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ stmts:
name: ~
type_info:
Variadic:
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -1102,7 +1102,7 @@ stmts:
characters: " "
return_type:
Variadic:
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -6648,7 +6648,7 @@ stmts:
type: Whitespace
characters: " "
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -7377,7 +7377,7 @@ stmts:
type: Whitespace
characters: " "
- End:
Ellipse:
Ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ stmts:
characters: " "
return_type:
Variadic:
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -447,7 +447,7 @@ stmts:
type: Identifier
identifier: U
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -580,7 +580,7 @@ stmts:
type: Identifier
identifier: U
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ stmts:
type: Identifier
identifier: T
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -188,7 +188,7 @@ stmts:
type: Identifier
identifier: U
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -295,7 +295,7 @@ stmts:
type: Identifier
identifier: U
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -353,7 +353,7 @@ stmts:
type: Identifier
identifier: T
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -527,7 +527,7 @@ stmts:
type: Identifier
identifier: T
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -701,7 +701,7 @@ stmts:
type: Identifier
identifier: Args
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -754,7 +754,7 @@ stmts:
type: Whitespace
characters: " "
- Variadic:
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -828,7 +828,7 @@ stmts:
type: Identifier
identifier: Return
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -1004,7 +1004,7 @@ stmts:
type: Identifier
identifier: Args
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -1062,7 +1062,7 @@ stmts:
type: Identifier
identifier: Return
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -1287,7 +1287,7 @@ stmts:
type: Identifier
identifier: T
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -1587,7 +1587,7 @@ stmts:
type: Identifier
identifier: T
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down Expand Up @@ -1738,7 +1738,7 @@ stmts:
type: Identifier
identifier: T
trailing_trivia: []
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
2 changes: 1 addition & 1 deletion full-moon/tests/roblox_cases/pass/types_indexable/ast.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ stmts:
pairs:
- End:
Variadic:
ellipse:
ellipsis:
leading_trivia: []
token:
start_position:
Expand Down
Loading

0 comments on commit 885e762

Please sign in to comment.