diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-16 21:51:01 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-16 21:51:01 +0000 |
| commit | 75c1cac7f306627ce2a96faa0ca17ffb039bd762 (patch) | |
| tree | 9bbde912ce8a99ce68eec4a5258b75f3a686e408 /test/ruby/test_string.rb | |
| parent | c89882197ed679e89b120dd328cd053d7ad56094 (diff) | |
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_string.rb')
| -rw-r--r-- | test/ruby/test_string.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index e6399b1f2c..7510bb9cb7 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -159,7 +159,7 @@ class TestString < Test::Unit::TestCase assert_equal("now's", result[0]) assert_equal("the", result[1]) assert_equal("time", result[2]) - + result = " now's the time".split(' ') assert_equal("now's", result[0]) assert_equal("the", result[1]) @@ -209,7 +209,7 @@ class TestString < Test::Unit::TestCase assert_equal("m", result[2]) assert_equal("o", result[3]) assert_equal("m", result[4]) - + result = "mellow yellow".split("ello") assert_equal("m", result[0]) assert_equal("w y", result[1]) |
