From d0998a44b9fbcaecbc506823abd63659627473e9 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sat, 29 Oct 2022 14:12:09 +0800 Subject: [PATCH] Fix test again. --- tests/for.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/for.rs b/tests/for.rs index a379a977..48139e70 100644 --- a/tests/for.rs +++ b/tests/for.rs @@ -241,8 +241,8 @@ fn test_for_loop() -> Result<(), Box> { for (item, count) in a { switch item.type_of() { - "i64" | "i32 if item.is_even => break count, - "f64" | "f32 if item.to_int().is_even => break count, + "i64" | "i32" if item.is_even => break count, + "f64" | "f32" if item.to_int().is_even => break count, } } "#