Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd committed Sep 24, 2024
1 parent bf4a8da commit be32bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/repl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ end
tmp_sym_link = joinpath(tmp_55850, "sym")
symlink(tmp_55850, tmp_sym_link; dir_target=true)
withenv("JULIA_DEPOT_PATH" => tmp_sym_link, "JULIA_LOAD_PATH" => nothing) do
prompt = readchomp(`$(Base.julia_cmd()[1]) --startup-file=no -e "using Pkg: REPLMode, Types; print(REPLMode.projname(Types.find_project_file()))"`)
prompt = readchomp(`$(Base.julia_cmd()[1]) --startup-file=no -e "using Pkg: Types; const REPLExt = Base.get_extension(Pkg, :REPLExt); print(REPLExt.projname(Types.find_project_file()))"`)
@test prompt == "@v$(VERSION.major).$(VERSION.minor)"
end
end
Expand Down

0 comments on commit be32bfa

Please sign in to comment.