mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/parser.rb (RDoc.binary?): fix wrong regexp.
[ruby-core:44798] [Bug #6393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c327407bdc
commit
8109c530b2
3 changed files with 9 additions and 1 deletions
|
@ -29,8 +29,11 @@ class TestRDocParser < MiniTest::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_class_binary_large_japanese_rdoc
|
||||
extenc, Encoding.default_external = Encoding.default_external, Encoding::US_ASCII
|
||||
file_name = File.expand_path '../test.ja.largedoc', __FILE__
|
||||
assert !@RP.binary?(file_name)
|
||||
ensure
|
||||
Encoding.default_external = extenc
|
||||
end
|
||||
|
||||
def test_class_binary_japanese_rdoc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue