Files
typos/crates/typos-cli/tests/cmd/stdin-failure.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

15 lines
235 B
TOML

bin.name = "typos"
args = "-"
status.code = 2
stdin = '''
Apropriate world
'''
stdout = """
error: `Apropriate` should be `Appropriate`
╭▸ -:1:1
│
1 │ Apropriate world
╰╴━━━━━━━━━━
"""
stderr = ""