From beb956339029a3367f1753230f62f7c0d81e820a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Tue, 10 Oct 2023 16:52:34 +0200 Subject: [PATCH] another test fix --- test/iteration.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/iteration.jl b/test/iteration.jl index b45bb2db1..98848b36d 100644 --- a/test/iteration.jl +++ b/test/iteration.jl @@ -126,7 +126,7 @@ end @test mapcols!(x -> 2x, copy(df), cols=Not(All())) == DataFrame(a1=[1, 2], a2=[2, 3], b=[3, 4]) @test mapcols!(x -> 2x, copy(df), cols=:) == DataFrame(a1=[2, 4], a2=[4, 6], b=[6, 8]) a1, a2, b = eachcol(df) - mapcols!(x -> 2x, df, Not(All())) + mapcols!(x -> 2x, df, cols=Not(All())) @test df == DataFrame(a1=[1, 2], a2=[2, 3], b=[3, 4]) @test df.a1 == a1 && df.a2 == a2 && df.b == b end