diff --git a/vlib/builtin/int_test.v b/vlib/builtin/int_test.v index da0d3b6d86..9f93e3a8c5 100644 --- a/vlib/builtin/int_test.v +++ b/vlib/builtin/int_test.v @@ -46,7 +46,7 @@ fn test_float_equal_operator() { assert a.gebit(1) f := 1.2 - ab := f as int + ab := int(f) assert ab == 1 }