ruby / json

JSON implementation for Ruby
https://ruby.github.io/json
Other
705 stars 332 forks source link

Fix $VERBOSE restore #704

Closed tompng closed 2 weeks ago

tompng commented 2 weeks ago

Found this in ruby ci random failure

  1) Failure:
TestIRB::ShowDocTest#test_show_doc_without_rdoc [/tmp/ruby/src/trunk-random1/test/irb/test_command.rb:775]:
Expected "" to include "Can't display document because `rdoc` is not installed.\n".

The expected warning is suppressed because $VERBOSE is changed to nil