Skip to content

Commit 027ffef

Browse files
committed
TEST: Update reference tests
1 parent dbe8e3b commit 027ffef

14 files changed

+16
-24
lines changed

tests/reference/tokens-docstring1-1355fbb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "tokens-docstring1-1355fbb.stdout",
9-
"stdout_hash": "1b85fc7f73cdf02de4658833853717555d29e098188ad737ab1a0ac1",
9+
"stdout_hash": "9afa056946f77dcfa0a5aa89b3ff738274836892169e03c14ee14a8f",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/tokens-docstring1-1355fbb.stdout

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
(TOKEN ":") 11:11
66
(NEWLINE) 12:12
77
(TOKEN "indent") 13:16
8-
(TOKEN "string" "A multi-line
9-
docstring.
10-
") 17:54
8+
(TOKEN "string" "A multi-line\n docstring.\n ") 17:54
119
(NEWLINE) 55:55
1210
(NEWLINE) 56:56
1311
(TOKEN "dedent") 56:56
@@ -18,10 +16,7 @@
1816
(TOKEN ":") 68:68
1917
(NEWLINE) 69:69
2018
(TOKEN "indent") 70:73
21-
(TOKEN "string" "
22-
A multi-line
23-
docstring.
24-
") 74:116
19+
(TOKEN "string" "\n A multi-line\n docstring.\n ") 74:116
2520
(NEWLINE) 117:117
2621
(NEWLINE) 118:118
2722
(TOKEN "dedent") 118:118
@@ -36,9 +31,6 @@
3631
(NEWLINE) 167:167
3732
(NEWLINE) 168:168
3833
(TOKEN "dedent") 168:168
39-
(TOKEN "string" "
40-
A multi-line
41-
docstring.
42-
") 169:199
34+
(TOKEN "string" "\nA multi-line\ndocstring.\n") 169:199
4335
(NEWLINE) 200:200
4436
(EOF) 201:201

tests/reference/wat-bool1-234bcd1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "wat-bool1-234bcd1.stdout",
9-
"stdout_hash": "82281b600ee1c6761bed3a793ced3193ca78440f65b4bbf61f6c9595",
9+
"stdout_hash": "1788374952754bb051767034a62d5cad318908ee45c0e449c58f6a41",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/wat-bool1-234bcd1.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
(data (;0;) (i32.const 4) "\0c\00\00\00\01\00\00\00")
185185
(data (;1;) (i32.const 12) " ")
186186
(data (;2;) (i32.const 16) "\18\00\00\00\01\00\00\00")
187-
(data (;3;) (i32.const 24) "\0a ")
187+
(data (;3;) (i32.const 24) "\n ")
188188
(data (;4;) (i32.const 28) "\24\00\00\00\01\00\00\00")
189189
(data (;5;) (i32.const 36) "- ")
190190
(data (;6;) (i32.const 40) "\30\00\00\00\01\00\00\00")

tests/reference/wat-expr14-5e0cb96.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "wat-expr14-5e0cb96.stdout",
9-
"stdout_hash": "c76b00ab575193cf3e658a54c61a93e064c0851d9e2162567dd29641",
9+
"stdout_hash": "731682ff49eaab392c46e72e575f595873b89b30309c62c75cc6e36b",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/wat-expr14-5e0cb96.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
(data (;0;) (i32.const 4) "\0c\00\00\00\01\00\00\00")
2424
(data (;1;) (i32.const 12) " ")
2525
(data (;2;) (i32.const 16) "\18\00\00\00\01\00\00\00")
26-
(data (;3;) (i32.const 24) "\0a ")
26+
(data (;3;) (i32.const 24) "\n ")
2727
(data (;4;) (i32.const 28) "\24\00\00\00\01\00\00\00")
2828
(data (;5;) (i32.const 36) "- ")
2929
(data (;6;) (i32.const 40) "\30\00\00\00\01\00\00\00")

tests/reference/wat-expr2-8b17723.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "wat-expr2-8b17723.stdout",
9-
"stdout_hash": "c76b00ab575193cf3e658a54c61a93e064c0851d9e2162567dd29641",
9+
"stdout_hash": "731682ff49eaab392c46e72e575f595873b89b30309c62c75cc6e36b",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/wat-expr2-8b17723.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
(data (;0;) (i32.const 4) "\0c\00\00\00\01\00\00\00")
2424
(data (;1;) (i32.const 12) " ")
2525
(data (;2;) (i32.const 16) "\18\00\00\00\01\00\00\00")
26-
(data (;3;) (i32.const 24) "\0a ")
26+
(data (;3;) (i32.const 24) "\n ")
2727
(data (;4;) (i32.const 28) "\24\00\00\00\01\00\00\00")
2828
(data (;5;) (i32.const 36) "- ")
2929
(data (;6;) (i32.const 40) "\30\00\00\00\01\00\00\00")

tests/reference/wat-expr9-f73afd1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "wat-expr9-f73afd1.stdout",
9-
"stdout_hash": "212ad5e41ca7f94eb5ca02a0bd15b73b2b0f0a470709881d4249fbbc",
9+
"stdout_hash": "b9760209706729d81bacca34584d8b872b0438e7dfc2a460f00425f1",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/wat-expr9-f73afd1.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
(data (;0;) (i32.const 4) "\0c\00\00\00\01\00\00\00")
7878
(data (;1;) (i32.const 12) " ")
7979
(data (;2;) (i32.const 16) "\18\00\00\00\01\00\00\00")
80-
(data (;3;) (i32.const 24) "\0a ")
80+
(data (;3;) (i32.const 24) "\n ")
8181
(data (;4;) (i32.const 28) "\24\00\00\00\01\00\00\00")
8282
(data (;5;) (i32.const 36) "- ")
8383
(data (;6;) (i32.const 40) "\30\00\00\00\01\00\00\00")

0 commit comments

Comments
 (0)