1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* bootstraptest/test_knownbug.rb: add issues.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-12-18 11:58:28 +00:00
parent 2d01290cfd
commit 1f75a4e700
2 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Tue Dec 18 18:10:05 2007 Koichi Sasada <ko1@atdot.net>
* bootstraptest/test_knownbug.rb: add issues.
Tue Dec 18 20:22:44 2007 Tanaka Akira <akr@fsij.org>
* parse.y (arg tMATCH arg): call reg_named_capture_assign_gen if regexp

View file

@ -35,6 +35,23 @@ assert_equal 'ok', %q{
end
}
assert_normal_exit %q{
eval "0 rescue break"
}, '[ruby-dev:31372]'
assert_normal_exit %q{
eval "while true; return; end rescue p $!"
}, '[ruby-dev:31663]'
assert_equal 'ok', %q{
1.times{
eval("break")
}
:ok
}, '[ruby-dev:32525]'
## encoding
assert_equal 'ok', %q{
begin
if ("\xa1\xa2\xa1\xa3").force_encoding("euc-jp").split(//) ==