diff options
author | aycabta <aycabta@gmail.com> | 2019-08-16 06:45:36 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-08-16 06:45:36 +0900 |
commit | a458317b914579c8a042ed02592af3a92aa41d1b (patch) | |
tree | c8cf7225a6eefcad40f07f67f0b08477427b7462 /test/rdoc/test_rdoc_parser_ruby.rb | |
parent | f71bd7477e84eb1cd10fa27e79b1e081ee51793a (diff) | |
download | ruby-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.rb | 2 |
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 |