Skip to content

Commit

Permalink
More clear test-scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed May 8, 2019
1 parent 3306835 commit c31c8be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ mktempdir(@__DIR__) do tmpdir
@test project["deps"]["Example"] == "7876af07-990d-54b4-ab0e-23690620f79a"
cd(tmpdir) do
@test success(`$(test_cmd) --project add JSON=682c06a0-de6a-54ab-a142-c8b1cf79cde6`)
project = TOML.parsefile(joinpath(tmpdir, "Project.toml"))
@test project["deps"]["JSON"] == "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
end
project = TOML.parsefile(joinpath(tmpdir, "Project.toml"))
@test project["deps"]["JSON"] == "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
@test success(`$(test_cmd) --update --project=$tmpdir add https://github.com/JuliaLang/Example.jl`)
project = TOML.parsefile(joinpath(tmpdir, "Project.toml"))
@test project["deps"]["Example"] == "7876af07-990d-54b4-ab0e-23690620f79a"
Expand Down

2 comments on commit c31c8be

@fredrikekre
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/573

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.0 -m "<description of version>" c31c8be94bbba9a1ba9a9c5de2805fe49269b3b6
git push origin v1.0.0

Please sign in to comment.