mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: update for stricter type checks
This commit is contained in:
@@ -31,7 +31,7 @@ fn test_float_equal_operator() {
|
||||
assert a.gebit(1)
|
||||
assert -1 == 1 * -1
|
||||
assert -1.0 == 1.0 * -1.0
|
||||
a = f64(1)
|
||||
a = 1
|
||||
a += 0.000001
|
||||
a -= 0.000001
|
||||
assert a == f32(1.0)
|
||||
|
||||
Reference in New Issue
Block a user