Skip to content

Instantly share code, notes, and snippets.

@raa0121
Created September 30, 2012 20:05
Show Gist options
  • Save raa0121/3808312 to your computer and use it in GitHub Desktop.
Save raa0121/3808312 to your computer and use it in GitHub Desktop.
#1 KNOWNBUGS.rb:19:in `block in <top (required)>':
class Bug6460
include Enumerable
def each
begin
yield :foo
ensure
1.times { Proc.new }
end
end
end
e = Bug6460.new
e.detect {true} #=> "" (expected "foo") [ruby-dev:45656]
stderr output is not empty
bootstraptest.tmp.rb: unexpected break
#2 KNOWNBUGS.rb:20:in `block in <top (required)>':
class Bug6460
include Enumerable
def each
begin
yield :foo
ensure
1.times { Proc.new }
end
end
end
e = Bug6460.new
e.any? {true} #=> "" (expected "true") [ruby-dev:45656]
stderr output is not empty
bootstraptest.tmp.rb: unexpected break
#3 KNOWNBUGS.rb:21:in `block in <top (required)>':
class Bug6460
include Enumerable
def each
begin
yield :foo
ensure
1.times { Proc.new }
end
end
end
e = Bug6460.new
e.all? {false} #=> "" (expected "false") [ruby-dev:45656]
stderr output is not empty
bootstraptest.tmp.rb: unexpected break
#4 KNOWNBUGS.rb:22:in `block in <top (required)>':
class Bug6460
include Enumerable
def each
begin
yield :foo
ensure
1.times { Proc.new }
end
end
end
e = Bug6460.new
e.include?(:foo) #=> "" (expected "true") [ruby-dev:45656]
stderr output is not empty
bootstraptest.tmp.rb: unexpected break
KNOWNBUGS.rb FAIL 4/4
FAIL 4/4 tests failed
make: [yes-test-knownbug] エラー 1 (無視されました)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment