diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 13:15:53 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 13:15:53 +0000 |
| commit | 060ffd1a9fa79765011e2edbeaf0f04bcae84681 (patch) | |
| tree | e73d06bbd106162412138c082a6399abee0f2b58 | |
| parent | b9511a3f661758013652ddedffdbd8dcf2cbfab8 (diff) | |
| download | ruby-060ffd1a9fa79765011e2edbeaf0f04bcae84681.tar.gz ruby-060ffd1a9fa79765011e2edbeaf0f04bcae84681.tar.xz ruby-060ffd1a9fa79765011e2edbeaf0f04bcae84681.zip | |
* bootstraptest/pending.rb: add pending issue.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | bootstraptest/pending.rb | 19 |
2 files changed, 23 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Tue Dec 25 22:13:51 2007 Koichi Sasada <ko1@atdot.net> + + * bootstraptest/pending.rb: add pending issue. + Tue Dec 25 22:12:40 2007 Koichi Sasada <ko1@atdot.net> * thread.c: remove Thread.critical(=). diff --git a/bootstraptest/pending.rb b/bootstraptest/pending.rb index 9e31d1c58..9629cea63 100644 --- a/bootstraptest/pending.rb +++ b/bootstraptest/pending.rb @@ -4,3 +4,22 @@ assert_equal 'ok', %q{ } :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]' + |
