diff --git a/ChangeLog b/ChangeLog index ed53087b67..a31c76dc7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 6 07:29:07 2009 Kazuhiro NISHIYAMA + + * test/ruby/test_case.rb: merged r25658 from ruby_1_8. + Thu Nov 5 12:27:07 2009 NARUSE, Yui * gem_prelude.rb (Gem.user_home): force_encoding( diff --git a/test/ruby/test_case.rb b/test/ruby/test_case.rb index 0123e7422f..f9f16d55a2 100644 --- a/test/ruby/test_case.rb +++ b/test/ruby/test_case.rb @@ -46,6 +46,13 @@ class TestCase < Test::Unit::TestCase else assert(false) end + + case "+" + when *%w/. +/ + assert(true) + else + assert(false) + end end def test_deoptimization