Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins committed Nov 10, 2023
1 parent 94c235c commit 4138732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/dataframe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1183,11 +1183,11 @@ end
for v in (true, false)
@test first(df, 6, view=v) == DataFrame(A=1:6)
@test first(df, 1, view=v) == DataFrame(A=1)
@test first(df, 0, view=v) == DataFrame()
@test first(df, 0, view=v) == DataFrame(A=Int[])
@test_throws ArgumentError first(df, -1, view=v)
@test last(df, 6, view=v) == DataFrame(A=5:10)
@test last(df, 1, view=v) == DataFrame(A=10)
@test last(df, 0, view=v) == DataFrame()
@test last(df, 0, view=v) == DataFrame(A=Int[])
@test_throws ArgumentError last(df, -1, view=v)
end

Expand Down

0 comments on commit 4138732

Please sign in to comment.