1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/-ext-/path_to_class/test_path_to_class.rb

13 lines
298 B
Ruby
Raw Normal View History

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