1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-11-21 23:01:00 +00:00

fix broken test

This commit is contained in:
Lucas 2021-10-01 13:32:19 +02:00
parent 8bf28b75fa
commit 6c694d186d

View file

@ -271,7 +271,7 @@ mod tests {
fn test_new_negative() { let _ = UFloat::new(-1.1); } fn test_new_negative() { let _ = UFloat::new(-1.1); }
#[test] #[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); } fn test_new_negative_zero() { let _ = UFloat::new(-0.0); }
#[test] #[test]