From fcbbde3d9be20935aaaad499b8e094c945eee58f Mon Sep 17 00:00:00 2001 From: Pavel Perestoronin Date: Tue, 31 Jan 2023 23:28:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20the=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/partials/float.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/partials/float.rs b/src/web/partials/float.rs index 6b77af43..b1702567 100644 --- a/src/web/partials/float.rs +++ b/src/web/partials/float.rs @@ -47,7 +47,7 @@ mod tests { #[test] fn finite_ok() { - assert_eq!(Float::from(0.5).render().into_string(), r#"1"#); + assert_eq!(Float::from(0.5).render().into_string(), r#"0"#); } #[test]