Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion packages/bolt/tests/snapshots/bolt__parse_230__0.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
macro foo:
pass
#>ERROR Expected colon, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 198 other tokens but got literal 'foo'.
#>ERROR Expected colon, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 199 other tokens but got literal 'foo'.
# line 3, column 7
# 2 | pass
# 3 | as @p foo
Expand Down
20 changes: 16 additions & 4 deletions packages/bolt/tests/snapshots/bolt__parse_277__0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
#>ERROR Expected call expression on builtin "hex".
# line 1, column 10
# 1 | time set hex.time
# : ^^^^^^^^
time set hex.time
---
<class 'mecha.ast.AstRoot'>
location: SourceLocation(pos=0, lineno=1, colno=1)
end_location: SourceLocation(pos=18, lineno=2, colno=1)
commands:
<class 'mecha.ast.AstCommand'>
location: SourceLocation(pos=0, lineno=1, colno=1)
end_location: SourceLocation(pos=17, lineno=1, colno=18)
identifier: 'time:set:timemarker'
arguments:
<class 'mecha.ast.AstResourceLocation'>
location: SourceLocation(pos=9, lineno=1, colno=10)
end_location: SourceLocation(pos=17, lineno=1, colno=18)
is_tag: False
namespace: None
path: 'hex.time'
4 changes: 4 additions & 0 deletions packages/bolt/tests/snapshots/bolt__parse_277__1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Nothing
---
output = None
---
2 changes: 1 addition & 1 deletion packages/bolt/tests/snapshots/bolt__parse_305__0.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#>ERROR Expected literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as', literal 'at' or 215 other tokens but got literal 'foo'.
#>ERROR Expected literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as', literal 'at' or 216 other tokens but got literal 'foo'.
# line 1, column 11
# 1 | as @a run foo = "bar"
# : ^^^
Expand Down
2 changes: 1 addition & 1 deletion packages/bolt/tests/snapshots/bolt__parse_352__0.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
macro hello thing=subcommand:
pass
#>ERROR Expected assignment, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 217 other tokens but got literal 'print(123)'.
#>ERROR Expected assignment, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 218 other tokens but got literal 'print(123)'.
# line 3, column 7
# 2 | pass
# 3 | hello print(123)
Expand Down
2 changes: 1 addition & 1 deletion packages/bolt/tests/snapshots/bolt__parse_358__0.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#>ERROR Expected literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as', literal 'at' or 215 other tokens but got literal '"not'.
#>ERROR Expected literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as', literal 'at' or 216 other tokens but got literal '"not'.
# line 1, column 13
# 1 | execute run "not docstring"
# : ^^^^
Expand Down
2 changes: 1 addition & 1 deletion packages/bolt/tests/snapshots/bolt__parse_48__0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1 * 2
#>ERROR Expected bracket '[', curly '{', decorator, docstring, ellipsis, false or 228 other tokens but got literal '*'.
#>ERROR Expected bracket '[', curly '{', decorator, docstring, ellipsis, false or 229 other tokens but got literal '*'.
# line 2, column 1
# 1 | 1 * 2
# 2 | * 3
Expand Down
2 changes: 1 addition & 1 deletion packages/bolt/tests/snapshots/bolt__parse_99__0.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#>ERROR Expected colon, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 198 other tokens but got literal 'for'.
#>ERROR Expected colon, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 199 other tokens but got literal 'for'.
# line 1, column 7
# 1 | at @s for i in "foo":
# : ^^^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
75,
84,
0
],
"max_format": [
75,
84,
0
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down Expand Up @@ -691,11 +691,11 @@ say json loaded!
{
"pack": {
"min_format": [
75,
84,
0
],
"max_format": [
75,
84,
0
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand All @@ -22,11 +22,11 @@
{
"directory": "dummy",
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{
"pack": {
"min_format": [
94,
101,
1
],
"max_format": [
94,
101,
1
],
"description": ""
Expand Down
Loading