diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-02-18 18:47:58 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-02-18 18:47:58 +0900 |
| commit | b7da7cfee0daac7c3e382e1a767ba1451a4c5c89 (patch) | |
| tree | d0c0d4f69036e842c4c12bff5d9658fbc681ddf2 /test/t/string.rb | |
| parent | 7ce9cc3b83f941843599a092e119688a40ddf6ef (diff) | |
| download | mruby-b7da7cfee0daac7c3e382e1a767ba1451a4c5c89.tar.gz mruby-b7da7cfee0daac7c3e382e1a767ba1451a4c5c89.zip | |
adopt String#gsub to fixed split behavior
Diffstat (limited to 'test/t/string.rb')
| -rw-r--r-- | test/t/string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/string.rb b/test/t/string.rb index 7d0b147d0..b2a70266b 100644 --- a/test/t/string.rb +++ b/test/t/string.rb @@ -205,7 +205,7 @@ assert('String#gsub!', '15.2.10.5.19') do b = 'abcabc' b.gsub!('b') { |w| w.capitalize } - a == 'aBcaBc' && b == 'aBcaBc' + a == 'aBcaBc' && b == 'aBcaBc' end assert('String#hash', '15.2.10.5.20') do |
