Skip to content

Commit

Permalink
Add NEWS.md entry
Browse files Browse the repository at this point in the history
Fix last remaining reflection test
  • Loading branch information
Seelengrab committed Jun 12, 2022
1 parent 3fa5882 commit ab5f350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,7 @@ External dependencies
Tooling Improvements
---------------------

* Printing of `MethodError` and methods (such as from `methods(my_func)`) are now prettified and color consistent with printing of methods
in stacktraces. ([#45069])

<!--- generated by NEWS-update.jl: -->
2 changes: 1 addition & 1 deletion test/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ let li = typeof(fieldtype).name.mt.cache.func::Core.MethodInstance,
mmime = repr("text/plain", li.def)

@test lrepr == lmime == "MethodInstance for fieldtype(...)"
@test mrepr == mmime == "fieldtype(...)\n @ Core"
@test mrepr == mmime == "fieldtype(...)\n @ Core none:0"
end


Expand Down

0 comments on commit ab5f350

Please sign in to comment.