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