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 000000000..f16cfc871 --- /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 000000000..8f1381efd --- /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"