Skip to content

Commit

Permalink
fixup! add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bicycle1885 committed Jul 30, 2016
1 parent 52616c8 commit dd05320
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 @@ -160,9 +160,9 @@ end"""
end

@testset "testing package registration" begin
PkgDev.generate("GreatNewPackage", "MIT")
PkgDev.generate("GreatNewPackage", "MIT", config=Dict("user.name"=>"Julia Test", "user.email"=>"test@julialang.org"))
PkgDev.register("GreatNewPackage")
@test isdir(joinpath(pkgdir, "METADATA", "GreatNewPackage"))
@test !isempty(readstring(joinpath(pkgdir, "METADATA", "GreatNewPackage", "url")))
end
end

Expand Down

0 comments on commit dd05320

Please sign in to comment.