Skip to content

Commit 496a161

Browse files
committed
Make replcompletions test robust to only finding a single match
in which case completing inside cd("foo<tab> adds the closing "
1 parent 4616e26 commit 496a161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/replcompletions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ if is_windows()
636636
s = "cd(\"$(file[1:2])"
637637
c,r = test_complete(s)
638638
@test r == length(s) - 1:length(s)
639-
@test file in c
639+
@test (length(c) > 1 && file in c) || (["$file\""] == c)
640640
end
641641
rm(tmp)
642642
end

0 commit comments

Comments
 (0)