From c0fda466a932085322e77592668916da94dcc689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Mon, 3 Dec 2018 21:41:47 +0100 Subject: [PATCH] fix some more tests --- test/cat.jl | 1 - test/iteration.jl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/cat.jl b/test/cat.jl index a57335ab43..74a5773757 100644 --- a/test/cat.jl +++ b/test/cat.jl @@ -1,6 +1,5 @@ module TestCat using Test, Random, DataFrames - using DataFrames: columns const ≅ = isequal # diff --git a/test/iteration.jl b/test/iteration.jl index 1114a5f9a1..e137369d9f 100644 --- a/test/iteration.jl +++ b/test/iteration.jl @@ -49,7 +49,7 @@ module TestIteration @test map(minimum, eachcol(df, true)) == DataFrame(A = [1], B = [2]) # this is deprecated @test map(minimum, eachcol(df, false)) == [1, 2] @test eltypes(mapcols(Vector{Float64}, df)) == [Float64, Float64] - @test eltypes(map(Vector{Float64}, eachcol(df))) == Vector{Float64} + @test eltype(map(Vector{Float64}, eachcol(df))) == Vector{Float64} @test eltypes(map(Vector{Float64}, eachcol(df, true))) == [Float64, Float64] # this is deprecated @test eltype(map(Vector{Float64}, eachcol(df, false))) == Vector{Float64}