summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_parser_ruby.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_parser_ruby.rb
parentf71bd7477e84eb1cd10fa27e79b1e081ee51793a (diff)
downloadruby-a458317b914579c8a042ed02592af3a92aa41d1b.tar.gz
Use assert_raise and skip for test/unit
Diffstat (limited to 'test/rdoc/test_rdoc_parser_ruby.rb')
-rw-r--r--test/rdoc/test_rdoc_parser_ruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_parser_ruby.rb b/test/rdoc/test_rdoc_parser_ruby.rb
index fe12958463..b2ea968682 100644
--- a/test/rdoc/test_rdoc_parser_ruby.rb
+++ b/test/rdoc/test_rdoc_parser_ruby.rb
@@ -100,7 +100,7 @@ class C; end
assert_equal 'E', name_t[:text]
assert_equal 'D::E', given_name
- assert_raises RDoc::Error do
+ assert_raise RDoc::Error do
util_parser("A::\nB").get_class_or_module ctxt
end
end