Skip to content

Commit 97ead58

Browse files
authored
Use Zlib instead of zstd
1 parent f41f678 commit 97ead58

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/ccall.jl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,10 +1980,11 @@ let llvm = sprint(code_llvm, gc_safe_ccall, ())
19801980
@test occursin("store atomic i8 2", llvm)
19811981
end
19821982

1983+
# This test is different on master but we need to use zlib on 1.12
19831984
module Test57749
1984-
using Test, Zstd_jll
1985-
const prefix = "Zstd version: "
1986-
const sym = :ZSTD_versionString
1987-
get_zstd_version() = prefix * unsafe_string(ccall((sym, libzstd), Cstring, ()))
1988-
@test startswith(get_zstd_version(), "Zstd")
1985+
using Test, Zlib_jll
1986+
const prefix = "Zlib version: "
1987+
const sym = :zlibVersion
1988+
get_zlib_version() = prefix * unsafe_string(ccall((sym, libz), Cstring, ()))
1989+
@test startswith(get_zlib_version(), "Zlib")
19891990
end

0 commit comments

Comments
 (0)