From 200d6695631ed0bdbfe58cd98bf65a00b31b4927 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@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 3647297cfb..2279c984eb 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 v1.2.3