typos/crates/typos-cli/tests/cmd/extend-ignore-identifiers-re-bad.toml
Ed Page 1b92c0182c fix(config): Propagate validation errors
When `flatten`ing an `Option`, all errors are silenced, making the value
`None`, not just "this field doesn't exist".
The easiest way around this was to not use `Option`.

Not too confident in all of the changes but tests pass?

Fixes #881
2023-12-08 13:07:52 -06:00

15 lines
203 B
TOML

bin.name = "typos"
status.code = 78
stdin = ""
stdout = ""
stderr = """
TOML parse error at line 7, column 1
|
7 | [type.ignore]
| ^[..]
regex parse error:
(he.*
^
error: unclosed group
"""