catala/tests/modules/bad/mod_badname.catala_en
Louis Gesbert b78cd9c29a
Improve message formatting throughout
Ensuring messages don't print overlong lines still requires some manual work:
- if they don't contain any `Format` directives (`%` or `@`), use `"%a"
  Format.pp_print_text` to turn word-wrapping on.
- otherwise replace spaces with `@ ` to mark possible cutting points, as soon
  that it's possible the line will get over 80 chars (most often, this means
  starting before the first `%a`)
2024-04-12 17:07:36 +02:00

17 lines
547 B
Plaintext

> Module This_is_not_the_file_name
```catala-test-inline
$ catala typecheck
[ERROR] Module declared as This_is_not_the_file_name, which does not match
the file name "tests/modules/bad/mod_badname.catala_en".
Rename the module to Mod_badname or the file to
"tests/modules/bad/This_is_not_the_file_name.catala_en".
┌─⯈ tests/modules/bad/mod_badname.catala_en:1.10-1.35:
└─┐
1 │ > Module This_is_not_the_file_name
│ ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
#return code 123#
```