Files
typos/crates/typos-cli/tests/cmd/file-list-stdin.toml
T
Ed Page 7f5f1ecb36 fix(cli): Replace error renderer with annotate-snippets
This is rustc/cargo's renderer and has all of the lessons of those,
including
- Unicode support
- Line wrapping / eliding of text to fit on screen

As part of this, we are now rendering file name typos like file
content typos.
2025-09-03 14:32:20 -05:00

21 lines
318 B
TOML

bin.name = "typos"
args = "--sort --file-list -"
stdin = """
b.fail
d.fail
"""
stdout = """
error: `hello` should be `goodbye`
╭▸ b.fail:1:1
│
1 │ hello
╰╴━━━━━
error: `hello` should be `goodbye`
╭▸ d.fail:1:1
│
1 │ hello
╰╴━━━━━
"""
stderr = ""
status.code = 2