From 90370d73a21639479c4c13b2fbd33f862d4e9a7a Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sun, 22 Oct 2023 03:39:18 +0200 Subject: [PATCH] fix --- iter/ranges_test.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iter/ranges_test.v b/iter/ranges_test.v index 5f403d806..e6c2eae99 100644 --- a/iter/ranges_test.v +++ b/iter/ranges_test.v @@ -56,9 +56,9 @@ fn test_float_iter() { for j, n in r { $if macos { tol := 2e-15 - assert math.tolerance(expected[i][j], n, tol), 'got: ${expected[i][j]}, want: ${n}, tol: ${tol}' + assert math.tolerance(expected[i][j], n, tol), 'got: ${n}, want: ${expected[i][j]}, tol: ${tol}' } $else { - assert n.eq_epsilon(expected[i][j]), 'got: n, want: ${expected[i][j]}' + assert n.eq_epsilon(expected[i][j]), 'got: ${n}, want: ${expected[i][j]}' } } assert r.len == expected[i].len @@ -96,9 +96,9 @@ fn test_linear_iter() { for j, n in l { $if macos { tol := 2e-15 - assert math.tolerance(expected[i][j], n, tol), 'got: ${expected[i][j]}, want: ${n}, tol: ${tol}' + assert math.tolerance(expected[i][j], n, tol), 'got: ${n}, want: ${expected[i][j]}' } $else { - assert n.eq_epsilon(expected[i][j]), 'got: n, want: ${expected[i][j]}' + assert n.eq_epsilon(expected[i][j]), 'got: ${n}, want: ${expected[i][j]}' } } assert l.len == expected[i].len