@@ -11,38 +11,38 @@ include("test-utils.jl")
11
11
end
12
12
13
13
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" ))
16
16
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 ` )
20
20
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" ))
23
23
end
24
24
25
25
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 `
29
29
@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" ))
32
32
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" ))
35
35
end
36
36
37
37
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 " )
41
41
@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" ))
44
44
@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" ))
47
47
end
48
48
end
0 commit comments