diff options
Diffstat (limited to 'test')
-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 89ab3bb7b0..a7cb0ebe9c 100644 --- a/test/-ext-/string/test_cstr.rb +++ b/test/-ext-/string/test_cstr.rb @@ -56,6 +56,10 @@ class Test_StringCStr < Test::Unit::TestCase assert_wchars_term_char("a\n") {|s| s.chomp!} end + def test_wchar_aset + assert_wchars_term_char("a"*30) {|s| s[29,1] = ""} + end + def assert_wchars_term_char(str) result = {} WCHARS.map do |enc| |