diff --git a/test/runtests.jl b/test/runtests.jl index 0ff9df3..e50c813 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,5 +7,5 @@ using Core.Compiler: IRCode ir = Base.code_ircode_by_type(Tuple{typeof(sin), Float64})[1][1] oc = OpaqueClosure(ir; do_compile=true) mc = MistyClosure(oc, ir) - @test mc(5.0) == sin(5.0) + @test @inferred(mc(5.0)) == sin(5.0) end