Skip to content

Commit

Permalink
fix tests on Julia 1.8+ (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Mar 7, 2022
1 parent c919181 commit 00246bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ llvm_ir(f, args) = sprint(code_llvm, f, Base.typesof(args...))
@testset "Reduction operations" begin

for op in (maximum, minimum, sum, prod)
@test op(V8I32(v8i32)) === op(v8i32)
@test op(V8I32(v8i32)) == op(v8i32) # Using `==` here because Base does slightly different promotions than us.
end
t = Vec(true, true, true, true)
tf = Vec(true, false, true, false)
Expand Down

0 comments on commit 00246bd

Please sign in to comment.