Skip to content

Commit 5b919f6

Browse files
committed
Add test for hover tooltip array
1 parent c9e66e5 commit 5b919f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_spec.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@ p5 = dataset("cars").path |> @vlplot(:point, x = :Miles_per_Gallon, y = :Acceler
8686
@test haskey(Vega.getparams(p5)["data"], "url")
8787

8888
end
89+
90+
@testset "Array tooltip data" begin
91+
p10 = @vlplot(:point,x=:Horsepower,y=:Miles_per_Gallon,tooltip=[:Horsepower,"Miles_per_Gallon:q"])
92+
@test isa(p10, VegaLite.VLSpec)
93+
end

0 commit comments

Comments
 (0)