summaryrefslogtreecommitdiff
path: root/jni/ruby/test/-ext-/test_bug-3662.rb
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-16 18:49:26 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-30 00:39:06 +0900
commitfcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch)
tree64cb17de3f41a2b6fef2368028fbd00349946994 /jni/ruby/test/-ext-/test_bug-3662.rb
Fresh start
Diffstat (limited to 'jni/ruby/test/-ext-/test_bug-3662.rb')
-rw-r--r--jni/ruby/test/-ext-/test_bug-3662.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/jni/ruby/test/-ext-/test_bug-3662.rb b/jni/ruby/test/-ext-/test_bug-3662.rb
new file mode 100644
index 0000000..73c0697
--- /dev/null
+++ b/jni/ruby/test/-ext-/test_bug-3662.rb
@@ -0,0 +1,10 @@
+require '-test-/bug-3662/bug'
+
+class Test_BUG_3662 < Test::Unit::TestCase
+ def test_funcall_notimplement
+ bug3662 = '[ruby-dev:41953]'
+ assert_raise(NotImplementedError, bug3662) {
+ Bug.funcall(:notimplement)
+ }
+ end
+end