mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 18:10:56 -05:00
test(dict): Show dBA behavior
This commit is contained in:
parent
efad85b292
commit
56df0bd8d6
2 changed files with 10 additions and 1 deletions
1
crates/typos-cli/tests/cmd/false-positives.in/sample.txt
Normal file
1
crates/typos-cli/tests/cmd/false-positives.in/sample.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Audio volume: 23.6 dBA
|
|
@ -1,4 +1,12 @@
|
||||||
bin.name = "typos"
|
bin.name = "typos"
|
||||||
stdin = ""
|
stdin = ""
|
||||||
stdout = ""
|
stdout = """
|
||||||
|
error: `BA` should be `BY`, `BE`
|
||||||
|
--> ./sample.txt:1:21
|
||||||
|
|
|
||||||
|
1 | Audio volume: 23.6 dBA
|
||||||
|
| ^^
|
||||||
|
|
|
||||||
|
"""
|
||||||
stderr = ""
|
stderr = ""
|
||||||
|
status.code = 2
|
||||||
|
|
Loading…
Reference in a new issue