Add test case for https://github.com/JuliaPlots/Plots.jl/issues/1904
This commit is contained in:
parent
53510f3268
commit
87af609a6f
@ -33,7 +33,12 @@ end
|
|||||||
@test backend() == Plots.UnicodePlotsBackend()
|
@test backend() == Plots.UnicodePlotsBackend()
|
||||||
|
|
||||||
# lets just make sure it runs without error
|
# lets just make sure it runs without error
|
||||||
@test isa(plot(rand(10)), Plots.Plot) == true
|
p = plot(rand(10))
|
||||||
|
@test isa(p, Plots.Plot) == true
|
||||||
|
@test isa(display(p), Nothing) == true
|
||||||
|
p = bar(randn(10))
|
||||||
|
@test isa(p, Plots.Plot) == true
|
||||||
|
@test isa(display(p), Nothing) == true
|
||||||
end
|
end
|
||||||
|
|
||||||
# The plotlyjs testimages return a connection error on travis:
|
# The plotlyjs testimages return a connection error on travis:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user