From 72c6341b5b3ac37a419635a2311b3b99c9afde01 Mon Sep 17 00:00:00 2001 From: Kenta Sato Date: Sat, 15 Jul 2017 17:32:38 +0900 Subject: [PATCH] remove Compat completely --- test/runtests.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 36b915c..0881793 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,7 +1,5 @@ using Snappy using Base.Test -using Compat - @testset "Low-level Interfaces" begin SnappyOK = Snappy.SnappyOK @@ -63,7 +61,7 @@ using Compat # Estimate compressed size for original in originals() - maxlen = Snappy.snappy_max_compressed_length(@compat(UInt(length(original)))) + maxlen = Snappy.snappy_max_compressed_length(UInt(length(original))) compressed = Array{UInt8}(100) olen, st = Snappy.snappy_compress(Vector{UInt8}(original), compressed) @test st == SnappyOK