Skip to content

Commit 5dfcf28

Browse files
committed
TEST: Update reference tests
1 parent 2f8084b commit 5dfcf28

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-test_operator_01-0f232bf",
3+
"cmd": "lpython --show-asr --no-color {infile} -o {outfile}",
4+
"infile": "tests/errors/test_operator_01.py",
5+
"infile_hash": "fe3fc1c23c2f63265b758b4d5d757943c1462811c5bc5e7a14abb64d",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "asr-test_operator_01-0f232bf.stderr",
11+
"stderr_hash": "d291f8cc0413a1d9a1f4450493d17790ceec00cad791cdc4d1283161",
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: Unary operator '-' not supported for type A
2+
--> tests/errors/test_operator_01.py:9:11
3+
|
4+
9 | print(-a)
5+
| ^^

0 commit comments

Comments
 (0)