mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 15:36:16 +02:00
* file.c: fix indent style. [fix GH-977]
* test/ruby/test_string.rb: indent. [fix GH-975] [ci skip] These patches are contributed from @yui-knk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
26cd2da784
commit
5fdee2f829
3 changed files with 11 additions and 5 deletions
|
@ -281,10 +281,10 @@ class TestString < Test::Unit::TestCase
|
|||
def casetest(a, b, rev=false)
|
||||
msg = proc {"#{a} should#{' not' if rev} match #{b}"}
|
||||
case a
|
||||
when b
|
||||
assert(!rev, msg)
|
||||
else
|
||||
assert(rev, msg)
|
||||
when b
|
||||
assert(!rev, msg)
|
||||
else
|
||||
assert(rev, msg)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue