diff --git a/test/test_animations.jl b/test/test_animations.jl index 4ad7fe2e6..562e7ef22 100644 --- a/test/test_animations.jl +++ b/test/test_animations.jl @@ -1,3 +1,11 @@ +@testset "Animation constructors" begin + @test Animation() isa Animation + @test Animation("dir") isa Animation + @test Animation("dir", String[]) isa Animation + anim = Animation("nonexisting_dir") + @test_throws SystemError frame(anim, plot([1, 2, 3])) +end + @testset "Empty anim" begin anim = @animate for i in [] end