Skip to content

Commit

Permalink
test(cli): Show inverted extend-exclude behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Sep 16, 2024
1 parent 945d407 commit 0e8148f
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions crates/typos-cli/tests/cmd/extend-exclude-inverted.in/_typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[files]
extend-exclude = [
"*",
"!checked/",
"!checked/**",
]
ignore-hidden = true
ignore-files = true
ignore-dot = true
ignore-vcs = true
ignore-global = true
ignore-parent = true
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
hte

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
hte

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
hte

4 changes: 4 additions & 0 deletions crates/typos-cli/tests/cmd/extend-exclude-inverted.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bin.name = "typos"
stdin = ""
stdout = ""
stderr = ""

0 comments on commit 0e8148f

Please sign in to comment.