We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d3d939 commit ad5616eCopy full SHA for ad5616e
test/runtests.jl
@@ -7,6 +7,7 @@ using Base.Test
7
stream = TranscodingStream(Identity(), source)
8
@test eof(stream)
9
@test read(stream) == UInt8[]
10
+ @test contains(repr(stream), "state=read")
11
close(stream)
12
13
source = IOBuffer("foo")
@@ -25,6 +26,7 @@ using Base.Test
25
26
sink = IOBuffer()
27
stream = TranscodingStream(Identity(), sink)
28
@test write(stream, "foo") === 3
29
+ @test contains(repr(stream), "state=write")
30
flush(stream)
31
@test take!(sink) == b"foo"
32
0 commit comments