Skip to content

Commit

Permalink
fix correct typo in test/cmdlineargs.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
awadell1 committed Dec 7, 2024
1 parent be1b376 commit c142f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cmdlineargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ let exename = `$(Base.julia_cmd()) --startup-file=no --color=no`
let expanded = abspath(joinpath(@__DIR__, "project", "ScriptProject"))
script = joinpath(expanded, "bin", "script.jl")
# Check running julia with --project=@script both within and outside the script directory
@testset "--@script from $name" for (name, dir) in [("project", expanded, ("outside", pwd()))]
@testset "--@script from $name" for (name, dir) in [("project", expanded), ("outside", pwd())]
@test joinpath(expanded, "Project.toml") == readchomp(Cmd(`$exename --project=@script $script`; dir))
@test joinpath(expanded, "SubProject", "Project.toml") == readchomp(Cmd(`$exename --project=@script/../SubProject $script`; dir))
end
Expand Down

0 comments on commit c142f78

Please sign in to comment.