mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
add manual_assert clippy lint (#8578)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
This commit is contained in:
@ -76,9 +76,7 @@ pub(crate) fn assert_tests_pass(suite_name: &str, path: &Path, results: &[CaseRe
|
||||
|
||||
print_results(suite_name, path, &passed, &failed, &skipped);
|
||||
|
||||
if !failed.is_empty() {
|
||||
panic!("Some tests failed (see above)");
|
||||
}
|
||||
assert!(failed.is_empty(), "Some tests failed (see above)");
|
||||
}
|
||||
|
||||
/// Categorize test results into `(passed, failed, skipped)`.
|
||||
|
||||
Reference in New Issue
Block a user