Skip to content

Commit

Permalink
add test for allow_package_dirty = true
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin authored and GunnarFarneback committed May 30, 2024
1 parent 96ee711 commit 7d444a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/register.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ with_empty_registry() do registry_dir, packages_dir
registry = registry_dir,
gitconfig = TEST_GITCONFIG,
push = false)
register(joinpath(packages_dir, "Flux"),
registry = registry_dir,
gitconfig = TEST_GITCONFIG,
push = false,
allow_package_dirty = true)
@test isfile(joinpath(registry_dir, "F", "Flux", "Package.toml"))
end

# Dirty the registry repository and try to register a package.
Expand Down

0 comments on commit 7d444a1

Please sign in to comment.