parent
bebe8d13f8
commit
3840791b7e
@ -58,7 +58,7 @@ class Test_String_Fstring < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_singleton_class
|
||||
str = noninterned_name.force_encoding("us-ascii")
|
||||
str = noninterned_name
|
||||
fstr = Bug::String.fstring(str)
|
||||
assert_raise(TypeError) {fstr.singleton_class}
|
||||
end
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen-string-literal: true
|
||||
|
||||
require "-test-/symbol"
|
||||
|
||||
module Test_Symbol
|
||||
|
Loading…
x
Reference in New Issue
Block a user