diff --git a/crates/typos-cli/src/dict.rs b/crates/typos-cli/src/dict.rs index 040be863..bb540ca2 100644 --- a/crates/typos-cli/src/dict.rs +++ b/crates/typos-cli/src/dict.rs @@ -55,6 +55,7 @@ impl BuiltIn { match ident { "O_WRONLY" => Some(Status::Valid), "dBA" => Some(Status::Valid), + "HashiCorp" => Some(Status::Valid), _ => None, } } diff --git a/crates/typos-cli/tests/cmd/false-positives.toml b/crates/typos-cli/tests/cmd/false-positives.toml index 70fec010..324f41d7 100644 --- a/crates/typos-cli/tests/cmd/false-positives.toml +++ b/crates/typos-cli/tests/cmd/false-positives.toml @@ -1,11 +1,4 @@ bin.name = "typos" stdin = "" -stdout = """ -error: `Hashi` should be `Hash` - ╭▸ ./README.md:11:17 - │ -11 │ Some talk about HashiCorp - ╰╴ ━━━━━ -""" +stdout = "" stderr = "" -status.code = 2