diff options
Diffstat (limited to 'test/-ext-')
-rw-r--r-- | test/-ext-/string/test_cstr.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/-ext-/string/test_cstr.rb b/test/-ext-/string/test_cstr.rb index a1288373ba..89ab3bb7b0 100644 --- a/test/-ext-/string/test_cstr.rb +++ b/test/-ext-/string/test_cstr.rb @@ -52,6 +52,10 @@ class Test_StringCStr < Test::Unit::TestCase assert_wchars_term_char("a\n") {|s| s.chop!} end + def test_wchar_chomp! + assert_wchars_term_char("a\n") {|s| s.chomp!} + end + def assert_wchars_term_char(str) result = {} WCHARS.map do |enc| |