Skip to content

Commit 20f04f2

Browse files
committed
TEST: Update reference tests
1 parent f2718b9 commit 20f04f2

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": "0bd85eafba7412639903c3cf431f99a5cec2e2e48e265f0f8014a641",
9+
"stdout_hash": "54e029691491889b71111718910b430fa193a93b95b6258fc0c8fbff",
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": "d23a95b31aa0235947d1720b9f812b84e9c67cafa0e32a3b27802025",
9+
"stdout_hash": "cca5515fad19fdf65edf97e51effc67b37295513eaaab45f174854a9",
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
@@ -103,7 +103,7 @@
103103
4
104104
a
105105
[]
106-
In
106+
InOut
107107
()
108108
()
109109
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": "fb8c872aaca346b06d130d093b14f58f616b667e4613f765fb32a2e6",
9+
"stdout_hash": "bde17720270048c509903eac1703b839f3e34c0a9cb1d8df1811bd55",
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
@@ -419,7 +419,7 @@
419419
195
420420
s
421421
[]
422-
In
422+
InOut
423423
()
424424
()
425425
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)