Skip to content

Commit

Permalink
Check kwfunc method list more carefully
Browse files Browse the repository at this point in the history
Attempting to prepare for JuliaLang/julia#47157
  • Loading branch information
vtjnash authored Oct 15, 2022
1 parent b082d5c commit b18e98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ end
end
return true
end
mkw = first(methods(Core.kwfunc(Outer.fkw)))
mkw = only(methods(Core.kwfunc(Outer.fkw), (Any, typeof(Outer.fkw), Vararg{Any})))
@test mkw in meths

@test Outer.Inner.g("hi") == 0
Expand Down

0 comments on commit b18e98e

Please sign in to comment.