Skip to content

Commit ed5afba

Browse files
committed
1 parent b170326 commit ed5afba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/bitcode.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LLVM.Module("SomeModule", ctx) do source_mod
1919
verify(source_mod)
2020

2121

22-
bitcode = Vector{UInt8}(source_mod)
22+
bitcode = convert(Vector{UInt8}, source_mod)
2323

2424
let
2525
mod = parse(LLVM.Module, bitcode)

test/buffer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ end
1212
MemoryBuffer(data) do membuf
1313
@test pointer(data) != pointer(membuf)
1414
@test length(membuf) == length(data)
15-
@test Vector{UInt8}(membuf) == data
15+
@test convert(Vector{UInt8}, membuf) == data
1616
end
1717

1818
MemoryBuffer(data, "SomeBuffer", false) do membuf

0 commit comments

Comments
 (0)