clerk/internal/settings/testdata/invalid-values.txtar (view raw)
| 1 | -- config.toml -- |
| 2 | [format] |
| 3 | indent-width = 17 |
| 4 | align-column = 0 |
| 5 | align-style = "none" |
| 6 | commodity-pos = "left" |
| 7 | |
| 8 | [lint] |
| 9 | unbalanced-transaction = true |
| 10 | account-depth = { severity = "critical" } |
| 11 | |
| 12 | -- expect -- |
| 13 | error: format: align-column: 0 out of range (want 1..240) |
| 14 | error: format: align-style: invalid value "none" (want "two-spaces", "right", or "tab") |
| 15 | error: format: commodity-pos: invalid value "left" (want "after" or "before") |
| 16 | error: lint: account-depth: invalid severity "critical" (want "off", "error", "warn", "info", or "hint") |
| 17 | error: lint: unbalanced-transaction: true is not supported (want false, "off", a severity, or an options table) |