diff --git a/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/_typos.toml b/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/_typos.toml new file mode 100644 index 0000000..6e5c8fd --- /dev/null +++ b/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/_typos.toml @@ -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 diff --git a/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/checked/file.txt b/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/checked/file.txt new file mode 100644 index 0000000..e7cbd35 --- /dev/null +++ b/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/checked/file.txt @@ -0,0 +1,2 @@ +hte + diff --git a/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/file.txt b/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/file.txt new file mode 100644 index 0000000..e7cbd35 --- /dev/null +++ b/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/file.txt @@ -0,0 +1,2 @@ +hte + diff --git a/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/unchecked/file.txt b/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/unchecked/file.txt new file mode 100644 index 0000000..e7cbd35 --- /dev/null +++ b/crates/typos-cli/tests/cmd/extend-exclude-inverted.in/unchecked/file.txt @@ -0,0 +1,2 @@ +hte + diff --git a/crates/typos-cli/tests/cmd/extend-exclude-inverted.toml b/crates/typos-cli/tests/cmd/extend-exclude-inverted.toml new file mode 100644 index 0000000..324f41d --- /dev/null +++ b/crates/typos-cli/tests/cmd/extend-exclude-inverted.toml @@ -0,0 +1,4 @@ +bin.name = "typos" +stdin = "" +stdout = "" +stderr = ""