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_comment.rb | |
parent | f71bd7477e84eb1cd10fa27e79b1e081ee51793a (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.rb | 2 |
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 |