diff --git a/test/runtests.jl b/test/runtests.jl index bbd57f4..aba1873 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,19 +7,19 @@ using Test @testset "Core" begin for filename in readdir(joinpath(@__DIR__, "..", "data", "data")) - if splitext(filename)[2] == ".json" || splitext(filename)[2] == ".csv" - if !in(splitdir(filename)[2], ["earthquakes.json", "graticule.json", "londonBoroughs.json", "londonTubeLines.json", "miserables.json", "sf-temps.csv", "us-10m.json", "world-110m.json", "annual-precip.json", "volcano.json"]) - vd = dataset(filename) + if splitext(filename)[2] == ".json" || splitext(filename)[2] == ".csv" + if !in(splitdir(filename)[2], ["earthquakes.json", "graticule.json", "londonBoroughs.json", "londonTubeLines.json", "miserables.json", "sf-temps.csv", "us-10m.json", "world-110m.json", "annual-precip.json", "volcano.json"]) + vd = dataset(filename) - @test IteratorInterfaceExtensions.isiterable(vd) == true - @test TableTraits.isiterabletable(vd) == true + @test IteratorInterfaceExtensions.isiterable(vd) == true + @test TableTraits.isiterabletable(vd) == true - cvd = collect(vd) + cvd = collect(vd) - @test isa(cvd, Array) - end - end + @test isa(cvd, Array) end + end +end df = dataset("iris")