Skip to content

Commit

Permalink
follow up #53127, fix the broken test case (#53134)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk authored Jan 31, 2024
1 parent dc474d8 commit cb9b00d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions stdlib/REPL/test/replcompletions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit cb9b00d

Please sign in to comment.