From 30dd48eae9c32dbec1dc453c04e9a919a98bc427 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 27 Aug 2026 14:06:18 -0500 Subject: [PATCH] test(cli): Show HashiCorp behavior --- crates/typos-cli/tests/cmd/false-positives.in/README.md | 2 ++ crates/typos-cli/tests/cmd/false-positives.toml | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/crates/typos-cli/tests/cmd/false-positives.in/README.md b/crates/typos-cli/tests/cmd/false-positives.in/README.md index 1059caa9..47bd9930 100644 --- a/crates/typos-cli/tests/cmd/false-positives.in/README.md +++ b/crates/typos-cli/tests/cmd/false-positives.in/README.md @@ -7,3 +7,5 @@ HTTP_REFERER is a valid HTTP header field It should be reasonable to talk about `` SHTTP is a protocol + +Some talk about HashiCorp diff --git a/crates/typos-cli/tests/cmd/false-positives.toml b/crates/typos-cli/tests/cmd/false-positives.toml index 324f41d7..70fec010 100644 --- a/crates/typos-cli/tests/cmd/false-positives.toml +++ b/crates/typos-cli/tests/cmd/false-positives.toml @@ -1,4 +1,11 @@ bin.name = "typos" stdin = "" -stdout = "" +stdout = """ +error: `Hashi` should be `Hash` + ╭▸ ./README.md:11:17 + │ +11 │ Some talk about HashiCorp + ╰╴ ━━━━━ +""" stderr = "" +status.code = 2