From fcbf63e62c627deae76c1b8cb8c0876c536ed811 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 16 Mar 2020 18:49:26 +0900 Subject: Fresh start --- jni/ruby/test/-ext-/path_to_class/test_path_to_class.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 jni/ruby/test/-ext-/path_to_class/test_path_to_class.rb (limited to 'jni/ruby/test/-ext-/path_to_class') diff --git a/jni/ruby/test/-ext-/path_to_class/test_path_to_class.rb b/jni/ruby/test/-ext-/path_to_class/test_path_to_class.rb new file mode 100644 index 0000000..fdf4097 --- /dev/null +++ b/jni/ruby/test/-ext-/path_to_class/test_path_to_class.rb @@ -0,0 +1,12 @@ +require 'test/unit' + +class Test_PathToClass < Test::Unit::TestCase + require '-test-/path_to_class/path_to_class' + + def test_path_to_class + bug5691 = '[ruby-core:41410]' + assert_raise(ArgumentError, bug5691) { + Test_PathToClass.path_to_class("Test_PathToClass::Object") + } + end +end -- cgit v1.2.3-70-g09d2