diff options
| author | _ov4 <ov4@ov4.one> | 2026-10-16 20:53:57 +0800 |
|---|---|---|
| committer | _ov4 <ov4@ov4.one> | 2026-10-16 20:53:57 +0800 |
| commit | f1f01c0622a9045e26335f5715a42342d0191dcd (patch) | |
| tree | 250248d8d154dd3e1dd288169dcf976bf43e55bf /tests/iii/multiple-errors/case.json | |
| parent | d19f9ddb866ac2415cbfe66966897a8efe8ddb63 (diff) | |
test(diagnostics): require accurate causes and source lines
Check native and IR rejection without creating or replacing output files.
Keep nine missing-location failures visible rather than accepting them.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'tests/iii/multiple-errors/case.json')
| -rw-r--r-- | tests/iii/multiple-errors/case.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/iii/multiple-errors/case.json b/tests/iii/multiple-errors/case.json new file mode 100644 index 0000000..32ec325 --- /dev/null +++ b/tests/iii/multiple-errors/case.json @@ -0,0 +1,12 @@ +{ + "errors": [ + { + "reason": "Unterminated\\ string\\ literal", + "line": 1 + }, + { + "reason": "Expected\\ ':'\\ after\\ variable\\ name", + "line": 2 + } + ] +} |
