diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-11 17:36:37 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-11 17:36:37 +0000 |
commit | 166b3957e08dd5f6c3221268a6df97212be4f53d (patch) | |
tree | e0d4b2e0013eb0bd59cc9d63b1e575e52e75011d /lib/pp.rb | |
parent | b187d1933b8bfb0edb4dec98c7142488cd80a42c (diff) | |
download | ruby-166b3957e08dd5f6c3221268a6df97212be4f53d.tar.gz |
* lib/pathname.rb: use assert_raise instead of assert_raises.
* lib/pp.rb: ditto.
* lib/time.rb: ditto.
* lib/tsort.rb: ditto.
use TSortHash and TSortArray instead of Hash and Array in test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pp.rb')
-rw-r--r-- | lib/pp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -522,7 +522,7 @@ if __FILE__ == $0 a = PrettyPrintInspect.new(1) assert_equal("<pretty_print:1>", a.inspect) a = PrettyPrintInspectWithoutPrettyPrint.new - assert_raises(RuntimeError) { a.inspect } + assert_raise(RuntimeError) { a.inspect } end def test_proc |