diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-03 16:31:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-03 16:31:25 +0000 |
commit | 1348e3b9ac686433047b30689159f0e5bc3279dc (patch) | |
tree | 6c815667448c8d2ba11661364c567c5433c1a8c6 /test/rdoc | |
parent | 19be9a8d80bb170b9189c997af90329e7e7af92c (diff) | |
download | ruby-1348e3b9ac686433047b30689159f0e5bc3279dc.tar.gz |
rdoc: non-binary multibyte
* lib/rdoc/parser.rb (RDoc.binary?): binary read data may have
incomplete multibyte sequence. [ruby-core:44798][Bug #6393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc')
-rw-r--r-- | test/rdoc/test.ja.largedoc (renamed from test/rdoc/test.ja.large.rdoc) | 0 | ||||
-rw-r--r-- | test/rdoc/test_rdoc_parser.rb | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test.ja.large.rdoc b/test/rdoc/test.ja.largedoc index a9c6c4691c..a9c6c4691c 100644 --- a/test/rdoc/test.ja.large.rdoc +++ b/test/rdoc/test.ja.largedoc diff --git a/test/rdoc/test_rdoc_parser.rb b/test/rdoc/test_rdoc_parser.rb index e0629e37b6..37d3b67323 100644 --- a/test/rdoc/test_rdoc_parser.rb +++ b/test/rdoc/test_rdoc_parser.rb @@ -29,7 +29,7 @@ class TestRDocParser < MiniTest::Unit::TestCase end def test_class_binary_large_japanese_rdoc - file_name = File.expand_path '../test.ja.large.rdoc', __FILE__ + file_name = File.expand_path '../test.ja.largedoc', __FILE__ assert !@RP.binary?(file_name) end |