[ruby/json] Fix $VERBOSE restore
Manually sync this commit that was missed. https://github.com/ruby/json/commit/6ae9155
This commit is contained in:
parent
db0c7be642
commit
64827b15e8
@ -209,7 +209,6 @@ class JSONCommonInterfaceTest < Test::Unit::TestCase
|
|||||||
Encoding.default_external = encoding
|
Encoding.default_external = encoding
|
||||||
yield
|
yield
|
||||||
ensure
|
ensure
|
||||||
verbose = $VERBOSE
|
|
||||||
Encoding.default_external = previous_encoding
|
Encoding.default_external = previous_encoding
|
||||||
$VERBOSE = verbose
|
$VERBOSE = verbose
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user