aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_string.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-11 06:50:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-11 06:50:26 +0000
commiteddfa31bda3a06c857217cbc09050cda920f1c7f (patch)
tree06f20f7171212ac8ca8c9964c56d04cbbf0ce7a8 /test/ruby/test_string.rb
parent34996e23efc17063c369ca0435c51d98f496f225 (diff)
downloadruby-eddfa31bda3a06c857217cbc09050cda920f1c7f.tar.gz
test_string.rb: highlighting
* test/ruby/test_string.rb (test_LSHIFT, test_succ): get rid of ruby-mode.el confusion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r--test/ruby/test_string.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index d5778ab747..9fcde4bcf5 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -209,7 +209,7 @@ class TestString < Test::Unit::TestCase
def test_LSHIFT # '<<'
assert_equal(S("world!"), S("world") << 33)
- assert_equal(S("world!"), S("world") << S('!'))
+ assert_equal(S("world!"), S("world") << S("!"))
s = "a"
10.times {|i|
@@ -1371,7 +1371,7 @@ class TestString < Test::Unit::TestCase
assert_equal("abce", "abcd".succ)
assert_equal("THX1139", "THX1138".succ)
- assert_equal("<<koalb>>", "<<koala>>".succ)
+ assert_equal("<\<koalb>>", "<\<koala>>".succ)
assert_equal("2000aaa", "1999zzz".succ)
assert_equal("AAAA0000", "ZZZ9999".succ)
assert_equal("**+", "***".succ)