summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_comment.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-08-16 06:45:36 +0900
committeraycabta <aycabta@gmail.com>2019-08-16 06:45:36 +0900
commita458317b914579c8a042ed02592af3a92aa41d1b (patch)
treec8cf7225a6eefcad40f07f67f0b08477427b7462 /test/rdoc/test_rdoc_comment.rb
parentf71bd7477e84eb1cd10fa27e79b1e081ee51793a (diff)
Use assert_raise and skip for test/unit
Diffstat (limited to 'test/rdoc/test_rdoc_comment.rb')
-rw-r--r--test/rdoc/test_rdoc_comment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_comment.rb b/test/rdoc/test_rdoc_comment.rb
index add4f98398..d3c16bceca 100644
--- a/test/rdoc/test_rdoc_comment.rb
+++ b/test/rdoc/test_rdoc_comment.rb
@@ -294,7 +294,7 @@ lines, one line per element. Lines are assumed to be separated by _sep_.
c = RDoc::Comment.new nil, @top_level
c.document = @RM::Document.new
- e = assert_raises RDoc::Error do
+ e = assert_raise RDoc::Error do
c.text = 'other'
end