Skip to content

Commit

Permalink
remove Compat completely
Browse files Browse the repository at this point in the history
  • Loading branch information
bicycle1885 committed Jul 15, 2017
1 parent 2f33413 commit 72c6341
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Snappy
using Base.Test
using Compat


@testset "Low-level Interfaces" begin
SnappyOK = Snappy.SnappyOK
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 72c6341

Please sign in to comment.