diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 09:18:10 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 09:18:10 +0000 |
commit | cdc527db342eda4c58b62c5dc2a14441a395df5d (patch) | |
tree | 237c953b345a00333d1600706a7f2484b4ad408c /test/rdoc/test_rdoc_rdoc.rb | |
parent | 0a0eb2807ed745e1cdf7f4698fe805b4aaaee2c6 (diff) |
* lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0
Release note: https://github.com/rdoc/rdoc/blob/b825775647f62c5b525e9780a28ff2fbb1d5bf6f/History.rdoc#500--2016-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_rdoc.rb')
-rw-r--r-- | test/rdoc/test_rdoc_rdoc.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb index 55096d394e..39f54555b5 100644 --- a/test/rdoc/test_rdoc_rdoc.rb +++ b/test/rdoc/test_rdoc_rdoc.rb @@ -133,7 +133,7 @@ class TestRDocRDoc < RDoc::TestCase end def test_normalized_file_list_non_file_directory - dev = defined?(File::NULL) ? File::NULL : '/dev/stdin' + dev = File::NULL skip "#{dev} is not a character special" unless File.chardev? dev @@ -261,7 +261,7 @@ class TestRDocRDoc < RDoc::TestCase assert_equal Encoding::ISO_8859_1, top_level.absolute_name.encoding io end - tf.close! if tf.respond_to? :close! + tf.close! end def test_parse_file_forbidden @@ -290,7 +290,7 @@ class TestRDocRDoc < RDoc::TestCase end io end - tf.close! if tf.respond_to? :close! + tf.close! end def test_remove_unparseable @@ -398,7 +398,7 @@ class TestRDocRDoc < RDoc::TestCase e.message) tempfile end - tf.close! if tf.respond_to? :close! + tf.close! end def test_setup_output_dir_exists_not_rdoc |