blob: 57e3a9233a5e4a3f4bac2f45c84aa1a0cc23b3da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: false
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
|