Skip to content

Commit 1847e26

Browse files
Fix flaky test?
1 parent 1fa12a8 commit 1847e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/quantile_test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ table.sort(x)
2323
local function assert_quantile(quan)
2424
local w = getPerc(x, quan)
2525
local d = quantile.Query(q, quan)
26-
t.assert(math.abs(w-d)/w < 0.05)
26+
t.assert_le(math.abs(w-d)/w, 0.05)
2727
end
2828

2929
g.test_query_05 = function()

0 commit comments

Comments
 (0)