Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Nov 15, 2023
1 parent 68ec947 commit ba07f8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_output.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ end
@testset "size error handling" begin
plt = plot(size = ())
@test_throws ArgumentError savefig(plt, tempname())
plt = plot(size = ())
plt = plot(size = (1))
@test_throws ArgumentError savefig(plt, tempname())
plt = plot(size = (1,2,3))
@test_throws ArgumentError savefig(plt, tempname())
end

0 comments on commit ba07f8e

Please sign in to comment.