* 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:
parent
ac4b2d990c
commit
02cb9c932a
@ -57,19 +57,19 @@ class TestDebug < Test::Unit::TestCase
|
|||||||
binds_check binds, bug7635
|
binds_check binds, bug7635
|
||||||
end
|
end
|
||||||
|
|
||||||
class MyRelation
|
class MyRelation
|
||||||
include Enumerable
|
include Enumerable
|
||||||
|
|
||||||
def each
|
def each
|
||||||
yield :each_entry
|
yield :each_entry
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_lazy_block
|
def test_lazy_block
|
||||||
x = MyRelation.new.any? do
|
x = MyRelation.new.any? do
|
||||||
Bug::Debug.inspector
|
Bug::Debug.inspector
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
assert_equal true, x, '[Bug #15105]'
|
assert_equal true, x, '[Bug #15105]'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user