Skip to content

Commit 39e5284

Browse files
authored
Update sort_spec.lua
1 parent 9f471ae commit 39e5284

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.spec/sorting/sort_spec.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ describe("Bogosort", function()
7676
check_sort(require("sorting.bogosort"), 5)
7777
end)
7878
describe("Countingsort", function()
79-
-- Test with multiple radii
8079
local countingsort = require("sorting.countingsort")
81-
check_sort(countingsort(), nil, true)
82-
check_sort(countingsort(2), nil, true)
83-
check_sort(countingsort(1e3), nil, true)
80+
check_sort(require(countingsort()), nil, true)
8481
end)

0 commit comments

Comments
 (0)