Skip to content

Commit cb9b00d

Browse files
authored
follow up JuliaLang#53127, fix the broken test case (JuliaLang#53134)
1 parent dc474d8 commit cb9b00d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

stdlib/REPL/test/replcompletions.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,7 +2248,10 @@ let s = "using ...Issue52922.Inn"
22482248
@test "Inner2" in c
22492249
end
22502250

2251-
struct Issue53126
2251+
struct Issue53126 end
2252+
Base.propertynames(::Issue53126) = error("this should not be called")
2253+
let s = "Issue53126()."
2254+
c, r, res = test_complete_context(s)
2255+
@test res
2256+
@test isempty(c)
22522257
end
2253-
Base.propertynames(::Type{A}) = error()
2254-
@test isempty(test_complete_foo(A))

0 commit comments

Comments
 (0)