Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz committed Dec 30, 2024
1 parent 7640b9c commit e42a6c6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---
source: full-moon/tests/fail_cases.rs
expression: result.ast
expression: result.ast()
input_file: full-moon/tests/roblox_cases/fail/parser/function_return_type_thin_arrow
snapshot_kind: text
---
nodes:
stmts:
- - FunctionDeclaration:
attributes: []
function_token:
leading_trivia: []
token:
Expand Down Expand Up @@ -252,4 +255,3 @@ eof:
token_type:
type: Eof
trailing_trivia: []

Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---
source: full-moon/tests/fail_cases.rs
expression: result.ast
expression: result.ast()
input_file: full-moon/tests/roblox_cases/fail/parser/param_tuple_types
snapshot_kind: text
---
nodes:
stmts:
- - FunctionDeclaration:
attributes: []
function_token:
leading_trivia: []
token:
Expand Down Expand Up @@ -145,4 +148,3 @@ eof:
token_type:
type: Eof
trailing_trivia: []

Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---
source: full-moon/tests/fail_cases.rs
expression: result.ast
expression: result.ast()
input_file: full-moon/tests/roblox_cases/fail/parser/param_variadic_types
snapshot_kind: text
---
nodes:
stmts:
- - FunctionDeclaration:
attributes: []
function_token:
leading_trivia: []
token:
Expand Down Expand Up @@ -133,4 +136,3 @@ eof:
token_type:
type: Eof
trailing_trivia: []

3 changes: 3 additions & 0 deletions full-moon/tests/roblox_cases/pass/types_parentheses/ast.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source: full-moon/tests/pass_cases.rs
expression: ast.nodes()
input_file: full-moon/tests/roblox_cases/pass/types_parentheses
snapshot_kind: text
---
stmts:
- - TypeDeclaration:
Expand Down Expand Up @@ -375,6 +376,7 @@ stmts:
pairs: []
- ~
- - FunctionDeclaration:
attributes: []
function_token:
leading_trivia: []
token:
Expand Down Expand Up @@ -2976,6 +2978,7 @@ stmts:
characters: " "
- ~
- - FunctionDeclaration:
attributes: []
function_token:
leading_trivia: []
token:
Expand Down

0 comments on commit e42a6c6

Please sign in to comment.