From 00246bd6b1ab7805135bb66bf598e9d840774287 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Mon, 7 Mar 2022 11:56:35 +0100 Subject: [PATCH] fix tests on Julia 1.8+ (#96) --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index b374792..5163170 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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)