Skip to content

Commit afa3a3c

Browse files
committed
Update reference tests
1 parent c10ba50 commit afa3a3c

File tree

199 files changed

+1242
-2244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+1242
-2244
lines changed

tests/reference/asr-array_01_decl-39cf894.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": "asr-array_01_decl-39cf894.stdout",
9-
"stdout_hash": "2814b93c776bda4a90db654f4fd7f39a2f6426fd8d899e49f0d1924f",
9+
"stdout_hash": "5a0243f2a25c2cfd117cd99812f153005be8c0e9d5d21838bd492aa8",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-array_01_decl-39cf894.stdout

Lines changed: 103 additions & 14 deletions
Large diffs are not rendered by default.

tests/reference/asr-array_02_decl-e8f6874.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"infile_hash": "9a398864499c7a3b4e2a480faf3a5dccaa65f9771a8de27f55f11ca4",
66
"outfile": null,
77
"outfile_hash": null,
8-
"stdout": "asr-array_02_decl-e8f6874.stdout",
9-
"stdout_hash": "0cc1e5ec9bd5abc1368179036c7b9d54fe2e847a679a16b54a3c6baa",
10-
"stderr": null,
11-
"stderr_hash": null,
12-
"returncode": 0
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "asr-array_02_decl-e8f6874.stderr",
11+
"stderr_hash": "487c42223b9102d506da6449af47d42e5030848ea1ed237c6bbaa2bc",
12+
"returncode": 2
1313
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
semantic error: Type mismatch in annotation-assignment, the types must be compatible
2+
--> tests/../integration_tests/array_02_decl.py:17:5
3+
|
4+
17 | ai32: i32[3, 3] = empty([3, 3], dtype=int32)
5+
| ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ type mismatch ('i32[3,3]' and 'i32[9]')

tests/reference/asr-array_02_decl-e8f6874.stdout

Lines changed: 0 additions & 939 deletions
This file was deleted.

tests/reference/asr-assert1-1ce92ea.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": "asr-assert1-1ce92ea.stdout",
9-
"stdout_hash": "0f38e0233ae4f684fc112a73f82b7440499ffc4a7f15315335796daa",
9+
"stdout_hash": "68bc0a401c238be76def1a5e7b3222a9e931b1d2fff483222df8aae0",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-assert1-1ce92ea.stdout

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
Required
2929
.false.
3030
.false.
31+
.false.
3132
)
3233
})
3334
test_assert

tests/reference/asr-assign1-886f049.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": "asr-assign1-886f049.stdout",
9-
"stdout_hash": "23d348023d8a7833d681333e53500d562339a63b20e9cc99d90e0865",
9+
"stdout_hash": "9119506be19f801ef0582d7f103655ded3eda5c5a8d848b99f11b328",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-assign1-886f049.stdout

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
Required
2929
.false.
3030
.false.
31+
.false.
3132
),
3233
r:
3334
(Variable
@@ -45,6 +46,7 @@
4546
Required
4647
.false.
4748
.false.
49+
.false.
4850
),
4951
s:
5052
(Variable
@@ -62,6 +64,7 @@
6264
Required
6365
.false.
6466
.false.
67+
.false.
6568
)
6669
})
6770
test_augassign

tests/reference/asr-assign2-8d1a2ee.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": "asr-assign2-8d1a2ee.stdout",
9-
"stdout_hash": "5aaf6a08eb98114a9c702d2a794829c5a327fd1f07a743550bf0461e",
9+
"stdout_hash": "b7ad04f98ecd44c762ad8be226a70cd12565fc9731f4826923626ade",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

0 commit comments

Comments
 (0)