From cf5aed00e239389b0bde1fd49f21eaade3f75441 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Mon, 6 Jun 2016 16:12:22 -0400 Subject: [PATCH] test fix --- test/runtests.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)