Skip to content

Commit d43c341

Browse files
committed
fix(test): satisfy the manual_contains lint in mocked reference checks
1 parent 82c25be commit d43c341

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/sqlbuild-analysis/src/compiler/_helpers/sql_tests/reader_references.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub(crate) fn unresolvable_call(
6161
(Some(first), None) => first.as_str().to_string(),
6262
_ => continue,
6363
};
64-
let runs = runs_models && chain.iter().any(|model| *model == name);
64+
let runs = runs_models && chain.contains(&name);
6565
if !runs && !mocks.contains_key(&name) {
6666
return Some(full.as_str().to_string());
6767
}

0 commit comments

Comments
 (0)