1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_io_m17n.rb (test_io_new_enc): "sjis" is now an alias

of Windows-31J.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2011-03-09 15:03:54 +00:00
parent 6afaff752b
commit 292d9610f5
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Mar 9 23:51:26 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* test/ruby/test_io_m17n.rb (test_io_new_enc): "sjis" is now an alias
of Windows-31J.
Wed Mar 9 23:06:13 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-parse-partial): fix indent after aref.

View file

@ -281,7 +281,7 @@ EOT
fd = IO.sysopen("tmp")
f = IO.new(fd, "r:sjis")
begin
assert_equal(Encoding::Shift_JIS, f.read.encoding)
assert_equal(Encoding::Windows_31J, f.read.encoding)
ensure
f.close
end