ADD: happy-path test for #3365
This commit is contained in:
parent
71fd38fe26
commit
bb26bb0557
@ -156,6 +156,7 @@ end
|
||||
end
|
||||
|
||||
@testset "NoFail" begin
|
||||
@testset "Plot" begin
|
||||
plots = [histogram([1, 0, 0, 0, 0, 0]),
|
||||
plot([missing]),
|
||||
plot([missing; 1:4]),
|
||||
@ -168,6 +169,14 @@ end
|
||||
@test_nowarn plot(x -> x^2, 0, 2)
|
||||
end
|
||||
|
||||
@testset "Bar" begin
|
||||
p = bar([3,2,1], [1,2,3]);
|
||||
@test isa(p, Plots.Plot)
|
||||
@test isa(display(p), Nothing) == true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@testset "EmptyAnim" begin
|
||||
anim = @animate for i in []
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user