Skip to content

Commit da0f125

Browse files
committed
Change tooltip test to check for vector
1 parent 7b38fdd commit da0f125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_spec.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ p5 = dataset("cars").path |> @vlplot(:point, x = :Miles_per_Gallon, y = :Acceler
8888
end
8989

9090
@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)
91+
p10 = dataset("cars")|> @vlplot(:point,x=:Horsepower,y=:Miles_per_Gallon,tooltip=[:Horsepower,"Miles_per_Gallon:q"])
92+
@test isa(p10.encoding.tooltip, Vector)
9393
end

0 commit comments

Comments
 (0)