Skip to content

Commit

Permalink
Remove tests for findfirst on IOBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholters committed Apr 20, 2018
1 parent 5de8cd0 commit 0d77275
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1428,9 +1428,6 @@ end
@test Compat.findnext(r"a", "ba", 1) == Compat.findfirst(r"a", "ba") == 2:2
@test Compat.findnext(r"z", "ba", 1) == Compat.findfirst(r"z", "ba") == nothing

@test Compat.findfirst(isequal(UInt8(0)), IOBuffer(UInt8[1, 0])) == 2
@test Compat.findfirst(isequal(UInt8(9)), IOBuffer(UInt8[1, 0])) == nothing

@test findall([true, false, true]) == [1, 3]
@test findall(in([1, 2]), [1]) == [1]
if VERSION < v"0.7.0-DEV.4592"
Expand Down

0 comments on commit 0d77275

Please sign in to comment.