mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix int_test.v
This commit is contained in:
parent
d66bc24e7f
commit
18c440c990
@ -46,7 +46,7 @@ fn test_float_equal_operator() {
|
|||||||
assert a.gebit(1)
|
assert a.gebit(1)
|
||||||
|
|
||||||
f := 1.2
|
f := 1.2
|
||||||
ab := f as int
|
ab := int(f)
|
||||||
assert ab == 1
|
assert ab == 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user