From 7fc1bcaec7535cb961935e4838997bcd976da459 Mon Sep 17 00:00:00 2001 From: Kenta Sato Date: Sun, 11 Jun 2017 16:29:57 +0900 Subject: [PATCH] add test_roundtrip_lines --- REQUIRE | 2 +- test/runtests.jl | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/REQUIRE b/REQUIRE index 9cf4686..00c6824 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,2 +1,2 @@ julia 0.6.0-rc1 -TranscodingStreams 0.1 +TranscodingStreams 0.2 diff --git a/test/runtests.jl b/test/runtests.jl index 74701ac..9c62e6e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,6 +1,11 @@ using CodecZlib using Base.Test -import TranscodingStreams: TranscodingStream, test_roundtrip_read, test_roundtrip_write, test_roundtrip_transcode +import TranscodingStreams: + TranscodingStream, + test_roundtrip_read, + test_roundtrip_write, + test_roundtrip_lines, + test_roundtrip_transcode const testdir = dirname(@__FILE__) @@ -63,6 +68,7 @@ const testdir = dirname(@__FILE__) test_roundtrip_read(GzipCompressionStream, GzipDecompressionStream) test_roundtrip_write(GzipCompressionStream, GzipDecompressionStream) + test_roundtrip_lines(GzipCompressionStream, GzipDecompressionStream) test_roundtrip_transcode(GzipCompression, GzipDecompression) @test_throws ArgumentError GzipCompression(level=10) @@ -120,6 +126,7 @@ end test_roundtrip_read(ZlibCompressionStream, ZlibDecompressionStream) test_roundtrip_write(ZlibCompressionStream, ZlibDecompressionStream) + test_roundtrip_lines(ZlibCompressionStream, ZlibDecompressionStream) test_roundtrip_transcode(ZlibCompression, ZlibDecompression) @test_throws ArgumentError ZlibCompression(level=10) @@ -130,6 +137,7 @@ end @testset "Deflate Codec" begin test_roundtrip_read(DeflateCompressionStream, DeflateDecompressionStream) test_roundtrip_write(DeflateCompressionStream, DeflateDecompressionStream) + test_roundtrip_lines(DeflateCompressionStream, DeflateDecompressionStream) test_roundtrip_transcode(DeflateCompression, DeflateDecompression) @test_throws ArgumentError DeflateCompression(level=10)