Skip to content
This repository
Browse code

Fix: backup original value before assign [rubyspec #155]

This is pointed by @edogawaconan.
#155
  • Loading branch information...
commit 5dbe87f2d49b4a96f7df687b50d27e4d681ef3d9 1 parent cb6525a
NARUSE, Yui nurse authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  core/io/readlines_spec.rb
2  core/io/readlines_spec.rb
@@ -13,8 +13,8 @@
13 13
14 14 ruby_version_is "1.9" do
15 15 before :each do
16   - Encoding.default_external = Encoding::UTF_8
17 16 @orig_exteenc = Encoding.default_external
  17 + Encoding.default_external = Encoding::UTF_8
18 18 end
19 19
20 20 after :each do

0 comments on commit 5dbe87f

Please sign in to comment.
Something went wrong with that request. Please try again.