From 7ea2e2d78c36b47efc4155871b166c46fef7879a Mon Sep 17 00:00:00 2001 From: pdeffebach <23196228+pdeffebach@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:28:32 -0400 Subject: [PATCH] Fix tests for #400 (#401) * fix * progress * add news and modify project.toml * fix tests --- test/keyword_arguments.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/keyword_arguments.jl b/test/keyword_arguments.jl index 0c3116e..a64c7ea 100644 --- a/test/keyword_arguments.jl +++ b/test/keyword_arguments.jl @@ -402,11 +402,12 @@ end end @testset "Multiple arguments #399" begin - correct = df[df.a .== 1, :] - correct_view = view(df, df.a .== 1, :) + correct = df[df.a .== 1 .& isequal.(df.b, 3), :] + correct_view = view(df, df.a .== 1 .& isequal.(df.b, 3), :) df2 = @subset(df, :a .== 1, :b .== 3; view = true) @test df2 ≈ correct_view + @test df2 isa SubDataFrame @test_throws ArgumentError @subset(df, :a .== 1, :b .== 3; skipmissing = false) @test_throws ArgumentError @subset(df, :a .== 1, :b .== 3; skipmissing = false, view = true)