From c6bb6339cac02f87f439cd7f9d14dbe8718edc4b Mon Sep 17 00:00:00 2001 From: davidanthoff Date: Thu, 6 May 2021 17:54:55 +0000 Subject: [PATCH] Format files using DocumentFormat --- test/runtests.jl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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")