Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
./miniruby.exe -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./bootstraptest/runner.rb"
--ruby="ruby.exe" ./KNOWNBUGS.rb
2012-07-03 13:03:20 -0300
Driver is ruby 2.0.0dev (2012-07-03 trunk 36290) [i386-mingw32]
Target is ruby 2.0.0dev (2012-07-03 trunk 36290) [i386-mingw32]
KNOWNBUGS.rb -bootstraptest.tmp.rb: unexpected break
Fbootstraptest.tmp.rb: unexpected break
Fbootstraptest.tmp.rb: unexpected break
Fbootstraptest.tmp.rb: unexpected break
FAIL 4/4
#1 KNOWNBUGS.rb:
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]
#2 KNOWNBUGS.rb:
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]
#3 KNOWNBUGS.rb:
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]
#4 KNOWNBUGS.rb:
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]
FAIL 4/4 tests failed
make: [yes-test-knownbug] Error 1 (ignored)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment