Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/test_utils/src/assert_linear.rs')
| -rw-r--r-- | crates/test_utils/src/assert_linear.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/test_utils/src/assert_linear.rs b/crates/test_utils/src/assert_linear.rs index 6ecc232e1e..24502ddb41 100644 --- a/crates/test_utils/src/assert_linear.rs +++ b/crates/test_utils/src/assert_linear.rs @@ -43,7 +43,7 @@ impl AssertLinear { } pub fn sample(&mut self, x: f64, y: f64) { - self.rounds.last_mut().unwrap().samples.push((x, y)) + self.rounds.last_mut().unwrap().samples.push((x, y)); } } @@ -54,7 +54,7 @@ impl Drop for AssertLinear { for round in &self.rounds { eprintln!("\n{}", round.plot); } - panic!("Doesn't look linear!") + panic!("Doesn't look linear!"); } } } |