summaryrefslogtreecommitdiff
path: root/test/-ext-/test_notimplement.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-17 14:47:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-17 14:47:36 +0000
commit47349e870111b8ae88bd1331559a022be88d80ec (patch)
tree1021475151de03cabe42fa6fc11c3bb8782a86d0 /test/-ext-/test_notimplement.rb
parent29a914ff2ee0fcf4b1a664355c99e4a16e766c9f (diff)
notimplement: rename
* ext/-test-/notimplement, test/-ext-/test_notimplement.rb: rename from bug-3662. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/test_notimplement.rb')
-rw-r--r--test/-ext-/test_notimplement.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/-ext-/test_notimplement.rb b/test/-ext-/test_notimplement.rb
new file mode 100644
index 0000000000..22bb7f7b88
--- /dev/null
+++ b/test/-ext-/test_notimplement.rb
@@ -0,0 +1,10 @@
+require '-test-/notimplement'
+
+class TestNotImplement < Test::Unit::TestCase
+ def test_funcall_notimplement
+ bug3662 = '[ruby-dev:41953]'
+ assert_raise(NotImplementedError, bug3662) {
+ Bug.funcall(:notimplement)
+ }
+ end
+end