From 6c694d186d2c0dc9c499ac8403d9a913e9183b0e Mon Sep 17 00:00:00 2001 From: Lucas <24826124+Luro02@users.noreply.github.com> Date: Fri, 1 Oct 2021 13:32:19 +0200 Subject: [PATCH] fix broken test --- src/types/ufloat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/ufloat.rs b/src/types/ufloat.rs index d4a0d57..5c93924 100644 --- a/src/types/ufloat.rs +++ b/src/types/ufloat.rs @@ -271,7 +271,7 @@ mod tests { fn test_new_negative() { let _ = UFloat::new(-1.1); } #[test] - #[should_panic = "float must be positive: `0`"] + #[should_panic = "float must be positive: `-0`"] fn test_new_negative_zero() { let _ = UFloat::new(-0.0); } #[test]