Skip to content

Commit

Permalink
test: update basic_nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWii committed Feb 13, 2024
1 parent 3d40e9d commit d605a25
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/snapshots/examples__build_basic_nesting__0.pack.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ function demo:foo/nested_macro_4 with block ~ ~ ~
function demo:foo/nested_macro_5 with block ~ ~ ~ Items
function demo:foo/nested_macro_6 with storage demo:temp
function demo:foo/nested_macro_7 with storage demo:temp args
return run say inline by default
return run function demo:named_return_run
return run say inlined command
return run function demo:foo/nested_return_0
```

`@function demo:wat`
Expand Down Expand Up @@ -267,6 +271,19 @@ say hi
return 0
```

`@function demo:named_return_run`

```mcfunction
say named function
```

`@function demo:foo/nested_return_0`

```mcfunction
say anonymous function 1
say anonymous function 2
```

`@function demo:thing1`

```mcfunction
Expand Down

0 comments on commit d605a25

Please sign in to comment.