Skip to content

Commit

Permalink
fix REPL test if a "juliadev" directory exists in home
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 committed Oct 17, 2024
1 parent d36417b commit 4a403d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/REPL/test/replcompletions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1341,9 +1341,9 @@ mktempdir() do path
end

# Test tilde path completion
let (c, r, res) = test_complete("\"~/julia")
let (c, r, res) = test_complete("\"~/ka8w5rsz")
if !Sys.iswindows()
@test res && c == String[homedir() * "/julia"]
@test res && c == String[homedir() * "/ka8w5rsz"]
else
@test !res
end
Expand Down

0 comments on commit 4a403d3

Please sign in to comment.