Skip to content

Commit

Permalink
remove test that is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins committed Sep 25, 2023
1 parent f5e0768 commit d819f4a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/index.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ using DataFrames: Index, SubIndex, fuzzymatch
@test_throws ArgumentError i[Not(:x)]
@test_throws ArgumentError i[Not("x")]
@test_throws BoundsError i[Not(1:3)]

@test i[Not([1, 1])] == [2]
@test i[Not([:A, :A])] == [2]
@test i[Not(["A", "A"])] == [2]
Expand Down Expand Up @@ -84,10 +84,6 @@ end
@test rename!(copy(i), [:a => :A]) == Index([:A, :b])
@test rename!(copy(i), [:a => :a]) == Index([:a, :b])
@test rename!(copy(i), [:a => :b, :b => :a]) == Index([:b, :a])
@test rename!(x -> Symbol(uppercase(string(x))), copy(i)) == Index([:A, :B])
@test rename!(x -> Symbol(lowercase(string(x))), copy(i)) == Index([:a, :b])
@test rename!(uppercase, copy(i)) == Index([:A, :B])
@test rename!(lowercase, copy(i)) == Index([:a, :b])

@test delete!(i, :a) == Index([:b])
push!(i, :C)
Expand Down

0 comments on commit d819f4a

Please sign in to comment.