Skip to content

Commit

Permalink
remove takebuf_string
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Feb 20, 2017
1 parent f46e963 commit a1f4a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ end"""
Pkg.add("Example")
io = IOBuffer()
f = PkgDev.freeable(io)
@test !(any(f .== "Example") || contains(takebuf_string(io), "Example"))
@test !(any(f .== "Example") || contains(String(take!(io)), "Example"))
Pkg.checkout("Example")
f = PkgDev.freeable(io)
@test any(f .== "Example") || contains(takebuf_string(io), "Example")
@test any(f .== "Example") || contains(String(take!(io)), "Example")
end

@testset "testing package registration" begin
Expand Down

0 comments on commit a1f4a9d

Please sign in to comment.