summaryrefslogtreecommitdiff
path: root/lib/set.rb
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-04 10:31:44 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-04 10:31:44 +0000
commit3285c929930205620cc6ab533108a0600c19bffa (patch)
tree45331acf880d2b20f3fedf887c0a829eaa27286f /lib/set.rb
parent60f2184922eedceb720307d25714bc9eb146b056 (diff)
* 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
Diffstat (limited to 'lib/set.rb')
-rw-r--r--lib/set.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/set.rb b/lib/set.rb
index 9e3dac0..98c566f 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) {