We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82930e5 commit 44c839cCopy full SHA for 44c839c
test/runtests_routeguide.jl
@@ -49,10 +49,13 @@ end
49
function test_generate()
50
@testset "codegen" begin
51
dir = joinpath(@__DIR__, "RouteguideClients")
52
- gRPCClient.generate(joinpath(dir, "route_guide.proto"); outdir=dir)
53
- @test isfile(joinpath(dir, "route_guide_pb.jl"))
54
- @test isfile(joinpath(dir, "routeguide.jl"))
55
- @test isfile(joinpath(dir, "RouteguideClients.jl"))
+ # generate into tempdir to avoid writing inside depot folder
+ mktempdir() do outdir
+ gRPCClient.generate(joinpath(dir, "route_guide.proto"); outdir=outdir)
+ @test isfile(joinpath(dir, "route_guide_pb.jl"))
56
+ @test isfile(joinpath(dir, "routeguide.jl"))
57
+ @test isfile(joinpath(dir, "RouteguideClients.jl"))
58
+ end
59
end
60
61
0 commit comments