1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest/pending.rb
ko1 96b9744b3d * bootstraptest/pending.rb: add pending issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 13:15:53 +00:00

25 lines
293 B
Ruby

assert_equal 'ok', %q{
1.times{
eval("break")
}
:ok
}, '[ruby-dev:32525]'
assert_equal "ok", %q{
module Foo
end
begin
def foo(&b)
Foo.module_eval &b
end
foo{
def bar
end
}
bar
rescue NoMethodError
:ok
end
}, '[ruby-core:14378]'