diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-01-07 15:00:55 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-01-07 15:00:55 +0900 |
| commit | dc25f85babd1b679669767b2dce09605b69e60ef (patch) | |
| tree | 5cc68e07efc2f9ae324d6871efd19b5a3e8e454c /mrbgems/mruby-string-ext/test/string.rb | |
| parent | 0f7d771adc76d4844a1c953446ccc785c141c017 (diff) | |
| download | mruby-dc25f85babd1b679669767b2dce09605b69e60ef.tar.gz mruby-dc25f85babd1b679669767b2dce09605b69e60ef.zip | |
mruby-string-utf8: UTF-8 string may contail NUL; #1646
Diffstat (limited to 'mrbgems/mruby-string-ext/test/string.rb')
| -rw-r--r-- | mrbgems/mruby-string-ext/test/string.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mrbgems/mruby-string-ext/test/string.rb b/mrbgems/mruby-string-ext/test/string.rb index 67ed628c0..c951ea7e3 100644 --- a/mrbgems/mruby-string-ext/test/string.rb +++ b/mrbgems/mruby-string-ext/test/string.rb @@ -20,8 +20,7 @@ assert('String#dump') do end assert('String#strip') do - s = " abc " - s.strip + s = " abc " "".strip == "" and " \t\r\n\f\v".strip == "" and "\0a\0".strip == "\0a" and "abc".strip == "abc" and |
