Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Aug 8, 2024
1 parent 2fe5792 commit ea8223b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,10 @@ precompile_test_harness(false) do dir
@test Base.invokelatest(Baz.baz) === 1
@test Baz === UseBaz.Baz

# should not throw if the cachefile does not exist
@test !isfile("DoesNotExist.ji")
@test Base.stale_cachefile("", "DoesNotExist.ji") === true

# Issue #12720
FooBar1_file = joinpath(dir, "FooBar1.jl")
write(FooBar1_file,
Expand Down

0 comments on commit ea8223b

Please sign in to comment.