зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
60f2184922
Коммит
3285c92993
|
@ -1,3 +1,7 @@
|
|||
Mon Jul 4 19:29:32 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* lib/set.rb: test change to follow revision 1.28. (duck typing?)
|
||||
|
||||
Mon Jul 4 11:23:50 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/{dbm,gdbm,sdbm}/test_{dbm,gdbm,sdbm}.rb: skip some tests
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче