Skip to content

Commit 632b256

Browse files
committed
test: Demonstrate bad config bug
1 parent 8dec26e commit 632b256

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[default.extend-identifiers]
2+
hello = "goodbye"
3+
4+
[type.fail]
5+
extend-glob = ["*.fail"]
6+
7+
[type.ignore]
8+
extend-glob = ["*.ignore"]
9+
extend-ignore-identifiers-re = ["(he.*"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
bin.name = "typos"
2+
status.code = 2
3+
stdin = ""
4+
stdout = """
5+
error: `hello` should be `goodbye`
6+
--> ./file.ignore:1:1
7+
|
8+
1 | hello
9+
| ^^^^^
10+
|
11+
error: `hello` should be `goodbye`
12+
--> ./file.fail:1:1
13+
|
14+
1 | hello
15+
| ^^^^^
16+
|
17+
"""
18+
stderr = ""

0 commit comments

Comments
 (0)