Skip to content

Commit

Permalink
Uncomment out test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Aug 14, 2023
1 parent 8a2c5cc commit 1c21e25
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test_Cthulhu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ end
h(x) = f(x)
end

# let (; src) = cthulhu_info(M.g, Tuple{Vector{Float64}})
# @test all(src.stmts.inst) do stmt
# isa(stmt, Core.GotoNode) || (isa(stmt, Core.ReturnNode) && isdefined(stmt, :val))
# end
# end
let (; src) = cthulhu_info(M.g, Tuple{Vector{Float64}})
@test all(src.stmts.inst) do stmt
isa(stmt, Core.GotoNode) || (isa(stmt, Core.ReturnNode) && isdefined(stmt, :val))
end
end

let (; src) = cthulhu_info(M.h, Tuple{Vector{Float64}})
@test count(!isnothing, src.stmts.inst) == 2
Expand Down

0 comments on commit 1c21e25

Please sign in to comment.