diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-03 10:17:47 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-03 10:17:47 +0000 |
commit | 309cef7e08eda2dd305fdee35e746fa71ea56e52 (patch) | |
tree | c990bf28335c96a93bed4a368844afc9ebb29dd6 | |
parent | 1686286ef1655b7f97a054baae23f1955ce9f598 (diff) |
merge revision(s) 36259:
* KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | KNOWNBUGS.rb | 18 | ||||
-rw-r--r-- | version.h | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index b97a08d928..2bcedcb150 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -3,3 +3,21 @@ # So all tests will cause failure. # +[['[ruby-dev:45656]', %q{ + class Bug6460 + include Enumerable + def each + begin + yield :foo + ensure + 1.times { Proc.new } + end + end + end + e = Bug6460.new +}]].each do |bug, src| + assert_equal "foo", src + %q{e.detect {true}}, bug + assert_equal "true", src + %q{e.any? {true}}, bug + assert_equal "false", src + %q{e.all? {false}}, bug + assert_equal "true", src + %q{e.include?(:foo)}, bug +end @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 246 +#define RUBY_PATCHLEVEL 247 #define RUBY_RELEASE_DATE "2012-07-03" #define RUBY_RELEASE_YEAR 2012 |