catala/tests/proof/bad/array_length-empty.catala_en
Louis Gesbert c864f658c8 Cleaner message printing
Aerates the printing of messages, removes extraneous noise, and more clearly
attaches the various information tied to a given message.
2024-05-03 12:21:34 +02:00

27 lines
564 B
Plaintext

## Test
```catala
declaration scope A:
internal x content list of integer
output y content boolean
scope A:
definition x equals [0; 5]
definition y under condition (number of x) > 0 consequence equals true
```
```catala-test-inline
$ catala Proof --disable-counterexamples
┌─[WARNING]─
│ [A.y] This variable might return an empty error:
─➤ tests/proof/bad/array_length-empty.catala_en:6.10-6.11:
6 │ output y content boolean
│ ‾
Test
Counterexample generation is disabled so none was generated.
└─
```