* test/win32ole/test_win32ole.rb: now source encoding is UTF-8, so
binary strings in old scripts are dangerous. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
510148e995
commit
f2fc82fc2a
@ -1,3 +1,8 @@
|
||||
Tue Nov 6 14:38:00 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/win32ole/test_win32ole.rb: now source encoding is UTF-8, so
|
||||
binary strings in old scripts are dangerous.
|
||||
|
||||
Tue Nov 6 14:25:09 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line):
|
||||
|
@ -379,7 +379,7 @@ if defined?(WIN32OLE)
|
||||
open(fname, "r:ascii-8bit") {|ifs|
|
||||
str = ifs.read
|
||||
}
|
||||
assert_equal("\244\242", str)
|
||||
assert_equal("\244\242".b, str)
|
||||
end
|
||||
|
||||
ensure
|
||||
|
Loading…
x
Reference in New Issue
Block a user