diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-17 16:53:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-17 16:53:48 +0000 |
commit | ad82a53e5df909c10eb631b791dcc2af3d72972c (patch) | |
tree | d550a448ed644ab2eedff667f657706acf6f13ea | |
parent | 08c319ee2a95312859d57156709a5effeb7dac5c (diff) | |
download | ruby-ad82a53e5df909c10eb631b791dcc2af3d72972c.tar.gz |
* bootstraptest/test_attr.rb: added for [ruby-core:15120].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | bootstraptest/test_attr.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bootstraptest/test_attr.rb b/bootstraptest/test_attr.rb new file mode 100644 index 0000000000..c70e2c21a6 --- /dev/null +++ b/bootstraptest/test_attr.rb @@ -0,0 +1,10 @@ +assert_equal %{ok}, %{ + class A + attr :m + end + begin + A.new.m(3) + rescue ArgumentError => e + print "ok" + end +}, '[ruby-core:15120]' |