Skip to content

Commit c77e1f5

Browse files
committed
TEST: Update reference tests
1 parent 107640c commit c77e1f5

8 files changed

+25
-18
lines changed

tests/reference/asr-dictionary1-a105a36.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"basename": "asr-dictionary1-a105a36",
33
"cmd": "lpython --show-asr --no-color {infile} -o {outfile}",
44
"infile": "tests/dictionary1.py",
5-
"infile_hash": "2d9f15b746aa8185afb3f2dc6415c20a7edccc8e711df1b323178d94",
5+
"infile_hash": "f164e8dbe52a04e4fd541d6ff6edae2994d683074087d8785a1759e4",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-dictionary1-a105a36.stdout",
9-
"stdout_hash": "f2c0ff3f39155d49867fa2d0805245359d7fb94c136bdc8c97c5e02e",
9+
"stdout_hash": "5cac3365d98b5bc30d5f4f9fac13d0c8e54cc1ca52d681d766c906c7",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-dictionary1-a105a36.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
6
1818
x
1919
[]
20-
In
20+
InOut
2121
()
2222
()
2323
Default

tests/reference/asr-structs_01-be14d49.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"basename": "asr-structs_01-be14d49",
33
"cmd": "lpython --show-asr --no-color {infile} -o {outfile}",
44
"infile": "tests/../integration_tests/structs_01.py",
5-
"infile_hash": "c8012b0c841b0d8e304c18ca7c6d4365f1d5e41235dc6f4e2dc21664",
5+
"infile_hash": "9f36a4abcc3a50ccc10df1f6b04998b7a20041853142c85a2e86b724",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-structs_01-be14d49.stdout",
9-
"stdout_hash": "846684c920aa9bae3979390a15d8d43dc5de56c8a7316c593bf4b7ac",
9+
"stdout_hash": "815b41b9f19ec6ce6a90ae53a05f04e28f0ae391118adfa90d5956f5",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-structs_01-be14d49.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
4
102102
a
103103
[]
104-
In
104+
InOut
105105
()
106106
()
107107
Default

tests/reference/asr-structs_05-fa98307.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"basename": "asr-structs_05-fa98307",
33
"cmd": "lpython --show-asr --no-color {infile} -o {outfile}",
44
"infile": "tests/../integration_tests/structs_05.py",
5-
"infile_hash": "94d06fb2844e1060d5df5291c3ccc4bd0e2bc8a8a59651814f0c4f0e",
5+
"infile_hash": "5c587158fe09782d15aa8f5f9c24468c62795e9f537a9eb439d8e8a4",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-structs_05-fa98307.stdout",
9-
"stdout_hash": "4adb7d314cd3d28086e7e0ebb8a701b1de0d0f253d5de63730b6f113",
9+
"stdout_hash": "e769f3c8c39b96e08847d977383f4d861bfcbad06d49d978c3d832ab",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-structs_05-fa98307.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@
411411
195
412412
s
413413
[]
414-
In
414+
InOut
415415
()
416416
()
417417
Default

tests/reference/ast-dictionary1-1a7e00a.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"basename": "ast-dictionary1-1a7e00a",
33
"cmd": "lpython --show-ast --no-color {infile} -o {outfile}",
44
"infile": "tests/dictionary1.py",
5-
"infile_hash": "2d9f15b746aa8185afb3f2dc6415c20a7edccc8e711df1b323178d94",
5+
"infile_hash": "f164e8dbe52a04e4fd541d6ff6edae2994d683074087d8785a1759e4",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "ast-dictionary1-1a7e00a.stdout",
9-
"stdout_hash": "cd85b7fa2f2f43a4be7a88c54d582616f529b9acee1de757eb361bd7",
9+
"stdout_hash": "c347af8c0abbed4664f354dc24c1bd061218c0584aef27889fbf1745",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/ast-dictionary1-1a7e00a.stdout

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -511,18 +511,25 @@
511511
[(x
512512
(Subscript
513513
(Name
514-
dict
514+
InOut
515515
Load
516516
)
517-
(Tuple
518-
[(Name
519-
i32
517+
(Subscript
518+
(Name
519+
dict
520520
Load
521521
)
522-
(Name
523-
i32
522+
(Tuple
523+
[(Name
524+
i32
525+
Load
526+
)
527+
(Name
528+
i32
529+
Load
530+
)]
524531
Load
525-
)]
532+
)
526533
Load
527534
)
528535
Load

0 commit comments

Comments
 (0)