diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-10-10 19:50:48 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-10-10 19:50:48 +0900 |
| commit | 7ce5d3394706723a82d337641f960c58649e0134 (patch) | |
| tree | 56cfeabc2ed1c78b273613f99d7e3a0f57784a2a /mrbgems/mruby-string-ext | |
| parent | 20aab8a10bc5e4b38b1e3d15a68e347b10db1e2e (diff) | |
| download | mruby-7ce5d3394706723a82d337641f960c58649e0134.tar.gz mruby-7ce5d3394706723a82d337641f960c58649e0134.zip | |
Integrate `mrb_str_inspect` and `mrb_str_dump`
Diffstat (limited to 'mrbgems/mruby-string-ext')
| -rw-r--r-- | mrbgems/mruby-string-ext/test/string.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-string-ext/test/string.rb b/mrbgems/mruby-string-ext/test/string.rb index 6914fe31d..3f11c00a0 100644 --- a/mrbgems/mruby-string-ext/test/string.rb +++ b/mrbgems/mruby-string-ext/test/string.rb @@ -13,6 +13,7 @@ end assert('String#dump') do assert_equal("\"\\x00\"", "\0".dump) assert_equal("\"foo\"", "foo".dump) + assert_equal('"\xe3\x82\x8b"', "る".dump) assert_nothing_raised { ("\1" * 100).dump } # regress #1210 end |
