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 | b808479dad77a34c2c2471ea421fc8e3ee8e7f1b (patch) | |
| tree | e0d4b2e0013eb0bd59cc9d63b1e575e52e75011d /lib/pp.rb | |
| parent | 96ffa67b2a658d6762aa1ebca140c0144bc6a425 (diff) | |
| download | ruby-b808479dad77a34c2c2471ea421fc8e3ee8e7f1b.tar.gz ruby-b808479dad77a34c2c2471ea421fc8e3ee8e7f1b.tar.xz ruby-b808479dad77a34c2c2471ea421fc8e3ee8e7f1b.zip | |
* 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: http://svn.ruby-lang.org/repos/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 |
