Skip to content

Commit df09411

Browse files
committed
Update test snapshots
1 parent a971f1d commit df09411

14 files changed

+253
-113
lines changed

packages/core/test/parser/long.spec.ts.snapshot

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports[`long() > long() > long() > Parse '' 1`] = `
66
"start": 0,
77
"end": 0
88
},
9-
"value": "0"
9+
"value": 0
1010
},
1111
"errors": [
1212
{
@@ -29,7 +29,7 @@ exports[`long() > long() > long() > Parse '+' 1`] = `
2929
"start": 0,
3030
"end": 1
3131
},
32-
"value": "0"
32+
"value": 0
3333
},
3434
"errors": [
3535
{
@@ -52,7 +52,7 @@ exports[`long() > long() > long() > Parse '+1' 1`] = `
5252
"start": 0,
5353
"end": 2
5454
},
55-
"value": "1"
55+
"value": 1
5656
},
5757
"errors": []
5858
}
@@ -66,7 +66,7 @@ exports[`long() > long() > long() > Parse '-1' 1`] = `
6666
"start": 0,
6767
"end": 2
6868
},
69-
"value": "-1"
69+
"value": -1
7070
},
7171
"errors": []
7272
}
@@ -80,7 +80,7 @@ exports[`long() > long() > long() > Parse '-123' 1`] = `
8080
"start": 0,
8181
"end": 4
8282
},
83-
"value": "-123"
83+
"value": -123
8484
},
8585
"errors": []
8686
}
@@ -94,7 +94,7 @@ exports[`long() > long() > long() > Parse '0123' 1`] = `
9494
"start": 0,
9595
"end": 4
9696
},
97-
"value": "123"
97+
"value": 123
9898
},
9999
"errors": [
100100
{
@@ -117,7 +117,7 @@ exports[`long() > long() > long() > Parse '123' 1`] = `
117117
"start": 0,
118118
"end": 3
119119
},
120-
"value": "123"
120+
"value": 123
121121
},
122122
"errors": []
123123
}
@@ -131,7 +131,7 @@ exports[`long() > long() > long() > Parse 'foo' 1`] = `
131131
"start": 0,
132132
"end": 0
133133
},
134-
"value": "0"
134+
"value": 0
135135
},
136136
"errors": [
137137
{
@@ -161,7 +161,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(1, 6, true) > Parse '0' 1`
161161
"start": 0,
162162
"end": 1
163163
},
164-
"value": "0"
164+
"value": 0
165165
},
166166
"errors": [
167167
{
@@ -184,7 +184,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(1, 6, true) > Parse '3' 1`
184184
"start": 0,
185185
"end": 1
186186
},
187-
"value": "3"
187+
"value": 3
188188
},
189189
"errors": []
190190
}
@@ -198,7 +198,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(1, 6, true) > Parse '9' 1`
198198
"start": 0,
199199
"end": 1
200200
},
201-
"value": "9"
201+
"value": 9
202202
},
203203
"errors": [
204204
{
@@ -221,7 +221,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(1, undefined, false) > Par
221221
"start": 0,
222222
"end": 1
223223
},
224-
"value": "0"
224+
"value": 0
225225
},
226226
"errors": [
227227
{
@@ -244,7 +244,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(1, undefined, false) > Par
244244
"start": 0,
245245
"end": 1
246246
},
247-
"value": "3"
247+
"value": 3
248248
},
249249
"errors": []
250250
}
@@ -258,7 +258,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(1, undefined, false) > Par
258258
"start": 0,
259259
"end": 1
260260
},
261-
"value": "9"
261+
"value": 9
262262
},
263263
"errors": []
264264
}
@@ -272,7 +272,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(undefined, 6, false) > Par
272272
"start": 0,
273273
"end": 1
274274
},
275-
"value": "0"
275+
"value": 0
276276
},
277277
"errors": []
278278
}
@@ -286,7 +286,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(undefined, 6, false) > Par
286286
"start": 0,
287287
"end": 1
288288
},
289-
"value": "3"
289+
"value": 3
290290
},
291291
"errors": []
292292
}
@@ -300,7 +300,7 @@ exports[`long() > long(min, max, onOutOfRange) > long(undefined, 6, false) > Par
300300
"start": 0,
301301
"end": 1
302302
},
303-
"value": "9"
303+
"value": 9
304304
},
305305
"errors": [
306306
{

packages/java-edition/test/mcfunction/parser/argument/brigadierLong.spec.ts.snapshot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports[`mcfunction argument parser > brigadier:long > Parse '-123' 1`] = `
66
"start": 0,
77
"end": 4
88
},
9-
"value": "-123"
9+
"value": -123
1010
},
1111
"errors": []
1212
}
@@ -20,7 +20,7 @@ exports[`mcfunction argument parser > brigadier:long > Parse '0' 1`] = `
2020
"start": 0,
2121
"end": 1
2222
},
23-
"value": "0"
23+
"value": 0
2424
},
2525
"errors": []
2626
}
@@ -34,7 +34,7 @@ exports[`mcfunction argument parser > brigadier:long > Parse '123' 1`] = `
3434
"start": 0,
3535
"end": 3
3636
},
37-
"value": "123"
37+
"value": 123
3838
},
3939
"errors": []
4040
}

packages/java-edition/test/mcfunction/parser/argument/minecraftEntity.spec.ts.snapshot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12114,8 +12114,8 @@ exports[`mcfunction argument parser > minecraft:entity > Parse 'dd12be42-52a9-4a
1211412114
"end": 36
1211512115
},
1211612116
"bits": [
12117-
"-2516740049682740591",
12118-
"-6295731287348353896"
12117+
-2516740049682740591,
12118+
-6295731287348353896
1211912119
]
1212012120
}
1212112121
},
@@ -12138,8 +12138,8 @@ exports[`mcfunction argument parser > minecraft:entity > Parse 'dd12be42-52a9-4a
1213812138
"end": 36
1213912139
},
1214012140
"bits": [
12141-
"-2516740049682740591",
12142-
"-6295731287348353896"
12141+
-2516740049682740591,
12142+
-6295731287348353896
1214312143
]
1214412144
}
1214512145
},

packages/java-edition/test/mcfunction/parser/argument/minecraftGameProfile.spec.ts.snapshot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ exports[`mcfunction argument parser > minecraft:game_profile > Parse 'dd12be42-5
200200
"end": 36
201201
},
202202
"bits": [
203-
"-2516740049682740591",
204-
"-6295731287348353896"
203+
-2516740049682740591,
204+
-6295731287348353896
205205
]
206206
}
207207
],
@@ -212,8 +212,8 @@ exports[`mcfunction argument parser > minecraft:game_profile > Parse 'dd12be42-5
212212
"end": 36
213213
},
214214
"bits": [
215-
"-2516740049682740591",
216-
"-6295731287348353896"
215+
-2516740049682740591,
216+
-6295731287348353896
217217
]
218218
}
219219
},

packages/java-edition/test/mcfunction/parser/argument/minecraftNbtTag.spec.ts.snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ exports[`mcfunction argument parser > minecraft:nbt_tag > Parse '0l' 1`] = `
8282
"start": 0,
8383
"end": 2
8484
},
85-
"value": "0"
85+
"value": 0
8686
}
8787
]
8888
},

packages/java-edition/test/mcfunction/parser/argument/minecraftUuid.spec.ts.snapshot

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ exports[`mcfunction argument parser > minecraft:uuid > Parse '1-1-1-1-1' 1`] = `
77
"end": 9
88
},
99
"bits": [
10-
"4295032833",
11-
"281474976710657"
10+
4295032833,
11+
281474976710657
1212
]
1313
},
1414
"errors": []
@@ -24,8 +24,8 @@ exports[`mcfunction argument parser > minecraft:uuid > Parse '42' 1`] = `
2424
"end": 2
2525
},
2626
"bits": [
27-
"0",
28-
"0"
27+
0,
28+
0
2929
]
3030
},
3131
"errors": [
@@ -50,8 +50,8 @@ exports[`mcfunction argument parser > minecraft:uuid > Parse 'dd12be42-52a9-4a91
5050
"end": 36
5151
},
5252
"bits": [
53-
"-2516740049682740591",
54-
"-6295731287348353896"
53+
-2516740049682740591,
54+
-6295731287348353896
5555
]
5656
},
5757
"errors": []
@@ -67,8 +67,8 @@ exports[`mcfunction argument parser > minecraft:uuid > Parse 'fffffffffffffff-1-
6767
"end": 23
6868
},
6969
"bits": [
70-
"-4294901759",
71-
"281474976710657"
70+
-4294901759,
71+
281474976710657
7272
]
7373
},
7474
"errors": []
@@ -84,8 +84,8 @@ exports[`mcfunction argument parser > minecraft:uuid > Parse 'ffffffffffffffff-1
8484
"end": 24
8585
},
8686
"bits": [
87-
"0",
88-
"0"
87+
0,
88+
0
8989
]
9090
},
9191
"errors": [

0 commit comments

Comments
 (0)