diff --git a/stdlib/REPL/test/replcompletions.jl b/stdlib/REPL/test/replcompletions.jl index 49838d4879dab..22ef938002514 100644 --- a/stdlib/REPL/test/replcompletions.jl +++ b/stdlib/REPL/test/replcompletions.jl @@ -2248,7 +2248,10 @@ let s = "using ...Issue52922.Inn" @test "Inner2" in c end -struct Issue53126 +struct Issue53126 end +Base.propertynames(::Issue53126) = error("this should not be called") +let s = "Issue53126()." + c, r, res = test_complete_context(s) + @test res + @test isempty(c) end -Base.propertynames(::Type{A}) = error() -@test isempty(test_complete_foo(A))