mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 09:35:11 +02:00
test(cli): Add reproduction case
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
[default.extend-words]
|
||||
"trailling" = "trailing"
|
||||
@@ -0,0 +1 @@
|
||||
public function noErrorOnTraillingSemicolonAndWhitespace(Connection $connection)
|
||||
@@ -0,0 +1,13 @@
|
||||
bin.name = "typos"
|
||||
args = ""
|
||||
status.code = 2
|
||||
stdin = ""
|
||||
stdout = """
|
||||
error: `Trailling` should be `trailing`
|
||||
--> ./file.txt:1:26
|
||||
|
|
||||
1 | public function noErrorOnTraillingSemicolonAndWhitespace(Connection $connection)
|
||||
| ^^^^^^^^^
|
||||
|
|
||||
"""
|
||||
stderr = ""
|
||||
Reference in New Issue
Block a user