Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Jan 2, 2018
1 parent b170326 commit ed5afba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/bitcode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LLVM.Module("SomeModule", ctx) do source_mod
verify(source_mod)


bitcode = Vector{UInt8}(source_mod)
bitcode = convert(Vector{UInt8}, source_mod)

let
mod = parse(LLVM.Module, bitcode)
Expand Down
2 changes: 1 addition & 1 deletion test/buffer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end
MemoryBuffer(data) do membuf
@test pointer(data) != pointer(membuf)
@test length(membuf) == length(data)
@test Vector{UInt8}(membuf) == data
@test convert(Vector{UInt8}, membuf) == data
end

MemoryBuffer(data, "SomeBuffer", false) do membuf
Expand Down

0 comments on commit ed5afba

Please sign in to comment.