diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-25 02:19:51 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-25 02:19:51 -0700 |
| commit | 0aecb8a2bbe2595bc6261f1d08c256becfc53482 (patch) | |
| tree | 3ee899809787b3bf1ed660a3c0a16e1347372759 /mrbgems | |
| parent | 8464cac63cce822245f76284a48d35343b680507 (diff) | |
| parent | 6684b7d1cff9eabf71fc0eea2ad06288f7c56afd (diff) | |
| download | mruby-0aecb8a2bbe2595bc6261f1d08c256becfc53482.tar.gz mruby-0aecb8a2bbe2595bc6261f1d08c256becfc53482.zip | |
Merge pull request #1212 from monaka/pr-fixup-string
Fix-up string
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/mruby-string-ext/test/string.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mrbgems/mruby-string-ext/test/string.rb b/mrbgems/mruby-string-ext/test/string.rb index ce4bc7352..2bb32cef3 100644 --- a/mrbgems/mruby-string-ext/test/string.rb +++ b/mrbgems/mruby-string-ext/test/string.rb @@ -14,6 +14,8 @@ assert('String#getbyte') do end assert('String#dump') do + ("\1" * 100).dump # should not raise an exception - regress #1210 + "\0".inspect == "\"\\000\"" and "foo".dump == "\"foo\"" end |
