Skip to content

Commit

Permalink
Add test that we enforce meta
Browse files Browse the repository at this point in the history
  • Loading branch information
NHDaly committed Oct 20, 2023
1 parent f3c1e6f commit 46b02bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/PProf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ end
@test length(with_c.location) > length(without_c.location)
@test length(with_c.var"#function") > length(without_c.var"#function")
end

# Must have meta.
@test_throws AssertionError pprof(Profile.fetch(include_meta = false))
end

@testset "full_signatures" begin
Expand Down

0 comments on commit 46b02bf

Please sign in to comment.