Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/tests/incremental.rs')
-rw-r--r--crates/hir-ty/src/tests/incremental.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/tests/incremental.rs b/crates/hir-ty/src/tests/incremental.rs
index d54c6937bc..7ed8d47bd5 100644
--- a/crates/hir-ty/src/tests/incremental.rs
+++ b/crates/hir-ty/src/tests/incremental.rs
@@ -103,6 +103,6 @@ fn baz() -> i32 {
}
});
});
- assert!(format!("{events:?}").matches("infer_shim").count() == 1, "{events:#?}")
+ assert_eq!(format!("{events:?}").matches("infer_shim").count(), 1, "{events:#?}")
}
}