Skip to content

Commit ff45349

Browse files
committed
TEST: Update reference tests
1 parent 17d2c96 commit ff45349

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"basename": "asr-arrays_02-da94458",
3+
"cmd": "lpython --show-asr --no-color {infile} -o {outfile}",
4+
"infile": "tests/errors/arrays_02.py",
5+
"infile_hash": "05e70a0056dc67dbf3a54ea66965db8746f9de012561ca95cb1fdb43",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "asr-arrays_02-da94458.stderr",
11+
"stderr_hash": "dc0e5be7cd6de7395421aedf1ce11977206f3e35bb7cba271aed8992",
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: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
2+
--> tests/errors/arrays_02.py:28:8
3+
|
4+
28 | assert r1.a == t1.a
5+
| ^^^^^^^^^^^^

0 commit comments

Comments
 (0)