diff --git a/test/runtests.jl b/test/runtests.jl index 4ef38886..a7ec97a6 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -71,7 +71,8 @@ end facts("Axes") do - axis = xaxis() + p = plot() + axis = p.subplots[1][:xaxis] @fact typeof(axis) --> Axis @fact Plots.discrete_value!(axis, "HI") --> (0.5, 1) @fact Plots.discrete_value!(axis, :yo) --> (1.5, 2)