зеркало из https://github.com/github/ruby.git
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ac4b2d990c
Коммит
02cb9c932a
|
@ -57,19 +57,19 @@ class TestDebug < Test::Unit::TestCase
|
|||
binds_check binds, bug7635
|
||||
end
|
||||
|
||||
class MyRelation
|
||||
include Enumerable
|
||||
|
||||
class MyRelation
|
||||
include Enumerable
|
||||
|
||||
def each
|
||||
yield :each_entry
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
def test_lazy_block
|
||||
x = MyRelation.new.any? do
|
||||
Bug::Debug.inspector
|
||||
true
|
||||
end
|
||||
end
|
||||
assert_equal true, x, '[Bug #15105]'
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче