Skip to content

Commit

Permalink
make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
tbreloff committed Jun 9, 2016
1 parent 269375e commit 4ad2d94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RecipesBase/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ end

# this is similar to how Plots would call the method
typealias KW Dict{Symbol,Any}
d = KW()
kw = KW(:customcolor => :red)
args = RecipesBase.apply_recipe(d, kw, T(), 2; issubplot = false)
d = KW(:customcolor => :red)
data_list = RecipesBase.apply_recipe(d, T(), 2)

# make sure the attribute dictionary was populated correctly, and the returned arguments are as expected
@test args == (srand(1); (rand(10,2),))
@test data_list[1].args == (srand(1); (rand(10,2),))
@test d == KW(
:customcolor => :red,
:markershape => :auto,
:markercolor => :red,
:xrotation => 5,
Expand Down

0 comments on commit 4ad2d94

Please sign in to comment.