Fix test again.

This commit is contained in:
Stephen Chung 2022-10-29 14:12:09 +08:00
parent 905b0b8332
commit d0998a44b9

View File

@ -241,8 +241,8 @@ fn test_for_loop() -> Result<(), Box<EvalAltResult>> {
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,
}
}
"#