summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_rd_block_parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc/test_rdoc_rd_block_parser.rb')
-rw-r--r--test/rdoc/test_rdoc_rd_block_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_rd_block_parser.rb b/test/rdoc/test_rdoc_rd_block_parser.rb
index 7afa9a03dd..18ec30db0f 100644
--- a/test/rdoc/test_rdoc_rd_block_parser.rb
+++ b/test/rdoc/test_rdoc_rd_block_parser.rb
@@ -165,7 +165,7 @@ class TestRDocRdBlockParser < RDoc::TestCase
assert_equal expected, parse(str)
io
end
- tf.close! if tf.respond_to? :close!
+ tf.close!
end
def test_parse_heading