test(cli): Add reproduction case

This commit is contained in:
Ed Page 2023-12-13 08:34:49 -06:00
parent 548ac37a5d
commit 86c4c9fb4a
3 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,2 @@
[default.extend-words]
"trailling" = "trailing"

View file

@ -0,0 +1 @@
public function noErrorOnTraillingSemicolonAndWhitespace(Connection $connection)

View file

@ -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 = ""