From 3285c929930205620cc6ab533108a0600c19bffa Mon Sep 17 00:00:00 2001 From: ocean Date: Mon, 4 Jul 2005 10:31:44 +0000 Subject: * lib/set.rb: test change to follow revision 1.28. (duck typing?) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/set.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/set.rb b/lib/set.rb index 9e3dac06ed..98c566f9c0 100644 --- a/lib/set.rb +++ b/lib/set.rb @@ -642,10 +642,10 @@ class TC_Set < Test::Unit::TestCase Set.new('a'..'c') Set.new('XYZ') } - assert_raises(ArgumentError) { + assert_raises(NoMethodError) { Set.new(false) } - assert_raises(ArgumentError) { + assert_raises(NoMethodError) { Set.new(1) } assert_raises(ArgumentError) { -- cgit v1.2.3