Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Commit bf21cfd

Browse files
authored
Clone GitCommand.jl repository instead of General (#44)
1 parent 415a759 commit bf21cfd

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

test/runtests.jl

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,38 @@ include("test-utils.jl")
1111
end
1212

1313
with_temp_dir() do tmp_dir
14-
@test !isdir("General")
15-
@test !isfile(joinpath("General", "Registry.toml"))
14+
@test !isdir("GitCommand.jl")
15+
@test !isfile(joinpath("GitCommand.jl", "Project.toml"))
1616
git() do git
17-
@test !isdir("General")
18-
@test !isfile(joinpath("General", "Registry.toml"))
19-
run(`$git clone https://github.com/JuliaRegistries/General`)
17+
@test !isdir("GitCommand.jl")
18+
@test !isfile(joinpath("GitCommand.jl", "Project.toml"))
19+
run(`$git clone https://github.com/JuliaVersionControl/GitCommand.jl`)
2020
end
21-
@test isdir("General")
22-
@test isfile(joinpath("General", "Registry.toml"))
21+
@test isdir("GitCommand.jl")
22+
@test isfile(joinpath("GitCommand.jl", "Project.toml"))
2323
end
2424

2525
with_temp_dir() do tmp_dir
26-
@test !isdir("General")
27-
@test !isfile(joinpath("General", "Registry.toml"))
28-
cmd = GitCommand.git`clone https://github.com/JuliaRegistries/General`
26+
@test !isdir("GitCommand.jl")
27+
@test !isfile(joinpath("GitCommand.jl", "Project.toml"))
28+
cmd = GitCommand.git`clone https://github.com/JuliaVersionControl/GitCommand.jl`
2929
@test cmd isa Cmd
30-
@test !isdir("General")
31-
@test !isfile(joinpath("General", "Registry.toml"))
30+
@test !isdir("GitCommand.jl")
31+
@test !isfile(joinpath("GitCommand.jl", "Project.toml"))
3232
run(cmd)
33-
@test isdir("General")
34-
@test isfile(joinpath("General", "Registry.toml"))
33+
@test isdir("GitCommand.jl")
34+
@test isfile(joinpath("GitCommand.jl", "Project.toml"))
3535
end
3636

3737
with_temp_dir() do tmp_dir
38-
@test !isdir("General")
39-
@test !isfile(joinpath("General", "Registry.toml"))
40-
expr = GitCommand._gitrepl_parser("clone https://github.com/JuliaRegistries/General")
38+
@test !isdir("GitCommand.jl")
39+
@test !isfile(joinpath("GitCommand.jl", "Project.toml"))
40+
expr = GitCommand._gitrepl_parser("clone https://github.com/JuliaVersionControl/GitCommand.jl")
4141
@test expr isa Expr
42-
@test !isdir("General")
43-
@test !isfile(joinpath("General", "Registry.toml"))
42+
@test !isdir("GitCommand.jl")
43+
@test !isfile(joinpath("GitCommand.jl", "Project.toml"))
4444
@eval $(expr)
45-
@test isdir("General")
46-
@test isfile(joinpath("General", "Registry.toml"))
45+
@test isdir("GitCommand.jl")
46+
@test isfile(joinpath("GitCommand.jl", "Project.toml"))
4747
end
4848
end

0 commit comments

Comments
 (0)