summaryrefslogtreecommitdiff
path: root/examples/seq
diff options
context:
space:
mode:
Diffstat (limited to 'examples/seq')
-rw-r--r--examples/seq/Cargo.toml4
-rw-r--r--examples/seq/seq-extras.rs6
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/seq/Cargo.toml b/examples/seq/Cargo.toml
index 2d4696a..9915f94 100644
--- a/examples/seq/Cargo.toml
+++ b/examples/seq/Cargo.toml
@@ -8,7 +8,9 @@ license = "MIT-0"
[dev-dependencies]
subplotlib = { path = "../../subplotlib" }
-fehler = "1"
[build-dependencies]
subplot-build = { path = "../../subplot-build" }
+
+[dependencies]
+culpa = "1.0.1"
diff --git a/examples/seq/seq-extras.rs b/examples/seq/seq-extras.rs
index 79863fc..b2185fb 100644
--- a/examples/seq/seq-extras.rs
+++ b/examples/seq/seq-extras.rs
@@ -26,8 +26,7 @@ fn count_lines_in_stdout(context: &Runcmd, count: usize) {
// step error. This will be reported as the reason the
// scenario fails.
throw!(format!(
- "Incorrect number of lines, got {} expected {}",
- stdout_count, count
+ "Incorrect number of lines, got {stdout_count} expected {count}",
));
}
}
@@ -57,8 +56,7 @@ fn stderr_contains_two_things(context: &ScenarioContext, what: &str, other: &str
if !stderr_has_both {
throw!(format!(
- "Stderr does not contain both of {:?} and {:?}",
- what, other
+ "Stderr does not contain both of {what:?} and {other:?}",
))
}
}