Skip to content

Commit

Permalink
add tests to --project
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed May 6, 2019
1 parent fbc5dab commit 210a45e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/cmdlineargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ let exename = `$(Base.julia_cmd()) --startup-file=no`
@test startswith(read(`$exename --help`, String), header)
end

#= # --project =#
#= let header = " Status `~/foo/Project.toml`" =#
#= @test startswith(read(`$exename --project=~/foo -e'using Pkg; Pkg.status()'`, String), header) =#
#= end =#

# --quiet, --banner
let t(q,b) = "Base.JLOptions().quiet == $q && Base.JLOptions().banner == $b"
@test success(`$exename -e $(t(0, -1))`)
Expand Down

0 comments on commit 210a45e

Please sign in to comment.