Skip to content

Commit 4524c90

Browse files
committed
Update error test references
1 parent 624621a commit 4524c90

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"basename": "runtime-test_list_const-0ca4829",
3+
"cmd": "lpython {infile}",
4+
"infile": "tests/errors/test_list_const.py",
5+
"infile_hash": "794f98a9e575bf64082d76c78f2466bf023c8b3f9432fdf3ec8fe866",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "runtime-test_list_const-0ca4829.stderr",
11+
"stderr_hash": "be9de860495ffefe5254883bbf042bf04f698ea68e76516dc98fdbff",
12+
"returncode": 2
13+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
semantic error: cannot append element to a const list
2+
--> tests/errors/test_list_const.py:6:5
3+
|
4+
6 | CONST_INTEGER_LIST.append(6)
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 

tests/tests.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ asr = true
833833

834834
[[test]]
835835
filename = "errors/test_list_const.py"
836-
asr = true
836+
run = true
837837

838838
[[test]]
839839
filename = "errors/test_annassign_01.py"

0 commit comments

Comments
 (0)