Skip to content

Commit f8a2787

Browse files
authored
Merge pull request #713 from rushabh-v/fmt-1
fix linting in test_mutable_binheap.jl
2 parents c7fbcef + 9ee9c5d commit f8a2787

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/test_mutable_binheap.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -237,17 +237,17 @@ end
237237
end
238238

239239
@testset "test delete!" begin
240-
vs=[1,2,4,6,3]
240+
vs = [1, 2, 4, 6, 3]
241241
h = MutableBinaryMinHeap(vs)
242242

243-
@test isequal(heap_values(delete!(h,1)), [2, 3, 4, 6])
244-
@test isequal(heap_values(delete!(h,5)), [2, 6, 4])
245-
@test_throws BoundsError delete!(h,10)
246-
@test_throws BoundsError delete!(h,0)
247-
@test_throws BoundsError delete!(h,-5)
243+
@test isequal(heap_values(delete!(h, 1)), [2, 3, 4, 6])
244+
@test isequal(heap_values(delete!(h, 5)), [2, 6, 4])
245+
@test_throws BoundsError delete!(h, 10)
246+
@test_throws BoundsError delete!(h, 0)
247+
@test_throws BoundsError delete!(h, -5)
248248
@test pop!(h) == 2
249249
@test pop!(h) == 4
250-
push!(h,2)
250+
push!(h, 2)
251251
@test pop!(h) == 2
252252
@test pop!(h) == 6
253253
@test isempty(h)

0 commit comments

Comments
 (0)