diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-11-30 13:40:42 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-11-30 14:16:33 +0900 |
commit | 438220f063c939761e3d85f7e307c321474c84e8 (patch) | |
tree | c826b6350b0aadef7286dd37b731f2da4927fcab /tool | |
parent | dc46529b64edcd6b7f7eb61133d92ca591882cdf (diff) |
Let pretty_inspect work once at first
For older pp.rb which did not need io/console, and dealing with
`LoadError`.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/core_assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb index d84b7f555a..3cc1ea11b5 100644 --- a/tool/lib/core_assertions.rb +++ b/tool/lib/core_assertions.rb @@ -33,7 +33,7 @@ module Test module CoreAssertions require_relative 'envutil' require 'pp' - require 'io/console' + nil.pretty_inspect def mu_pp(obj) #:nodoc: obj.pretty_inspect.chomp |