Skip to content

Commit

Permalink
Fix tests on Julia 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexatos authored Apr 18, 2024
1 parent cfefe9a commit c464b31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ end
end

@testset "resize!" begin
@test_throws "ArgumentError: new length must be ≥ 0" resize!(CircularVector([]), -2)
@test_throws "new length must be ≥ 0" resize!(CircularVector([]), -2)
v = CircularVector([1,2,3,4,5,6,7])
resize!(v, 3)
@test length(v) == 3
Expand Down Expand Up @@ -158,7 +158,7 @@ end
pop!(v2) == 1
@test v2 == CircularVector([])
@test isempty(v2)
@test_throws "ArgumentError: array must be non-empty" pop!(v2)
@test_throws "array must be non-empty" pop!(v2)
end

@testset "sizehint!" begin
Expand Down

0 comments on commit c464b31

Please sign in to comment.