diff --git a/crates/typos-cli/tests/cmd/false-positives.in/README.md b/crates/typos-cli/tests/cmd/false-positives.in/README.md new file mode 100644 index 0000000..f16cfc8 --- /dev/null +++ b/crates/typos-cli/tests/cmd/false-positives.in/README.md @@ -0,0 +1 @@ +add-ons should not be corrected to add-owns diff --git a/crates/typos-cli/tests/cmd/false-positives.toml b/crates/typos-cli/tests/cmd/false-positives.toml new file mode 100644 index 0000000..8f1381e --- /dev/null +++ b/crates/typos-cli/tests/cmd/false-positives.toml @@ -0,0 +1,12 @@ +bin.name = "typos" +stdin = "" +stdout = """ +error: `ons` should be `owns` + --> ./README.md:1:5 + | +1 | add-ons should not be corrected to add-owns + | ^^^ + | +""" +stderr = "" +status = "failed"