Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

fix(core): `just format`

Elijah Potterfac38f594be5
diff --git a/harper-core/src/linting/cautionary_tale.rs b/harper-core/src/linting/cautionary_tale.rs
index 8fc977af2..940b74cf6 100644
--- a/harper-core/src/linting/cautionary_tale.rs
+++ b/harper-core/src/linting/cautionary_tale.rs
@@ -54,7 +54,10 @@ impl ExprLinter for CautionaryTale {
#[cfg(test)]
mod tests {
- use crate::linting::{CautionaryTale, tests::{assert_lint_count, assert_suggestion_result}};
+ use crate::linting::{
+ CautionaryTale,
+ tests::{assert_lint_count, assert_suggestion_result},
+ };
#[test]
fn catches_cautionary_tail() {
@@ -112,11 +115,7 @@ mod tests {
#[test]
fn allows_different_adjective_with_tail() {
- assert_lint_count(
- "The cat has a long tail.",
- CautionaryTale::default(),
- 0,
- );
+ assert_lint_count("The cat has a long tail.", CautionaryTale::default(), 0);
}
#[test]