mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-19 02:15:10 +02:00
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.
21 lines
318 B
TOML
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
|