Skip to content

Commit

Permalink
Increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Jun 24, 2018
1 parent 1de1856 commit f91b362
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/test_vlplot_macro.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,16 @@ using Base.Test
}
""").params

@test @vlplot("point", x={"foo:q"}).params == (vl"""
{
"mark": "point",
"encoding": {
"x": {
"field": "foo",
"type": "quantitative"
}
}
}
""").params

end

0 comments on commit f91b362

Please sign in to comment.