Skip to content

Commit

Permalink
fix REPL test if a "juliadev" directory exists in home (#56218)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 authored Oct 23, 2024
1 parent 4236a33 commit 0a6277d
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 @@ -1347,9 +1347,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 0a6277d

Please sign in to comment.