diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 05:39:36 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 05:39:36 +0000 |
commit | f2fc82fc2a45e653f67d3a67e76dc8d4385e12e4 (patch) | |
tree | 82013b9fb591bacdd2a69694941cdb44396abf81 /test | |
parent | 510148e99594c9cdaf038ea6ae37d3a273e1b4fe (diff) | |
download | ruby-f2fc82fc2a45e653f67d3a67e76dc8d4385e12e4.tar.gz |
* 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
Diffstat (limited to 'test')
-rw-r--r-- | test/win32ole/test_win32ole.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole.rb b/test/win32ole/test_win32ole.rb index 5fbfbdef16..ba4413e025 100644 --- a/test/win32ole/test_win32ole.rb +++ b/test/win32ole/test_win32ole.rb @@ -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 |