diff --git a/Project.toml b/Project.toml index c659e1d2..ea79fd4b 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "TranscodingStreams" uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" license = "MIT" authors = ["Kenta Sato "] -version = "0.10.0" +version = "0.10.1" [deps] Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" diff --git a/test/codecnoop.jl b/test/codecnoop.jl index 08eb696e..23064d69 100644 --- a/test/codecnoop.jl +++ b/test/codecnoop.jl @@ -189,8 +189,9 @@ @test transcode(Noop, data) == data @test transcode(Noop, data) !== data - data = Vector{UInt8}() - @test TranscodingStreams.unsafe_transcode!(Noop(), data, data) == data + data = UInt8[] + @test transcode(Noop(), data, data) == data + data = [0x01, 0x02] @test_throws AssertionError transcode(Noop(), data, data) data = b"" @test transcode(Noop(), data) == data