diff options
Diffstat (limited to 'test/-ext-/symbol/test_type.rb')
-rw-r--r-- | test/-ext-/symbol/test_type.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/-ext-/symbol/test_type.rb b/test/-ext-/symbol/test_type.rb index fdee692fe4..2b0fbe5b79 100644 --- a/test/-ext-/symbol/test_type.rb +++ b/test/-ext-/symbol/test_type.rb @@ -134,5 +134,10 @@ module Test_Symbol Bug::Symbol.find(cx) } end + + def test_const_name_type + sym = "\xb5".force_encoding(Encoding::Windows_1253) + assert_not_operator Bug::Symbol, :const?, sym, sym.encode(Encoding::UTF_8) + end end end |