summaryrefslogtreecommitdiff
path: root/tests/integration_tests.rs
diff options
context:
space:
mode:
authorapogeeoak <59737221+apogeeoak@users.noreply.github.com>2021-02-09 18:21:18 -0500
committerapogeeoak <59737221+apogeeoak@users.noreply.github.com>2021-02-09 18:21:18 -0500
commit2e84f34cf375fa3d12c73d1f28d68f0be9de3dc4 (patch)
tree2a2053ed6ffecc8c0b9ca1bc0fefc4d7d23ce100 /tests/integration_tests.rs
parentb4a41385591e5d5b151f27f72fae39535afd4dd0 (diff)
chore: Updated source to follow clippy suggestions.
Diffstat (limited to 'tests/integration_tests.rs')
-rw-r--r--tests/integration_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index f5211b6..1bd3bf7 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -131,7 +131,7 @@ fn all_exercises_require_confirmation() {
file.read_to_string(&mut s).unwrap();
s
};
- source.matches("// I AM NOT DONE").next().expect(&format!(
+ source.matches("// I AM NOT DONE").next().unwrap_or_else(|| panic!(
"There should be an `I AM NOT DONE` annotation in {:?}",
path
));