Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/test_kernel.rb
Original file line number Diff line number Diff line change
@@ -110,21 +110,6 @@ def test_Float
assert_raises(ArgumentError) { Kernel.Float("xxxx10000000000000000000000000000000000000000000000000000") }
end

# String
# URI
# `
# abort
# at_exit
# binding
# block_given?
class CheckBlockGiven; def self.go() block_given? end; end
def test_iterator?
assert !(Kernel.block_given?)
assert(CheckBlockGiven.go { true })
assert(!CheckBlockGiven.go)
assert(!CheckBlockGiven.go(&Proc.new))
end

# callcc
# caller

0 comments on commit 424661f

Please sign in to comment.