From b808479dad77a34c2c2471ea421fc8e3ee8e7f1b Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 11 Feb 2004 17:36:37 +0000 Subject: * 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 --- lib/pp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pp.rb') diff --git a/lib/pp.rb b/lib/pp.rb index 3647297cf..2279c984e 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -522,7 +522,7 @@ if __FILE__ == $0 a = PrettyPrintInspect.new(1) assert_equal("", a.inspect) a = PrettyPrintInspectWithoutPrettyPrint.new - assert_raises(RuntimeError) { a.inspect } + assert_raise(RuntimeError) { a.inspect } end def test_proc -- cgit