Skip to content

Commit f78f1e9

Browse files
committed
Prevent a warning: setting Encoding.default_external
1 parent ff5fc4b commit f78f1e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ruby/test_hash.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,8 +893,8 @@ def test_inspect
893893
sjis_hash = "{\x87]: 1}".force_encoding('sjis')
894894
assert_equal(eval(sjis_hash).inspect, sjis_hash)
895895
ensure
896-
$VERBOSE = verbose_bak
897896
Encoding.default_external = enc
897+
$VERBOSE = verbose_bak
898898
end
899899
end
900900

0 commit comments

Comments
 (0)