mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
34996e23ef
commit
eddfa31bda
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue