mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-23 08:02:15 -05:00
commit
21838b0e7d
2 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ impl BuiltIn {
|
||||||
fn correct_ident_with_dict<'s>(&self, ident: &str) -> Option<Status<'s>> {
|
fn correct_ident_with_dict<'s>(&self, ident: &str) -> Option<Status<'s>> {
|
||||||
match ident {
|
match ident {
|
||||||
"O_WRONLY" => Some(Status::Valid),
|
"O_WRONLY" => Some(Status::Valid),
|
||||||
|
"dBA" => Some(Status::Valid),
|
||||||
_ => None,
|
_ => None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1
crates/typos-cli/tests/cmd/false-positives.in/sample.txt
Normal file
1
crates/typos-cli/tests/cmd/false-positives.in/sample.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Audio volume: 23.6 dBA
|
Loading…
Reference in a new issue