* 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:
hsbt 2015-10-23 07:03:34 +00:00
parent 26cd2da784
commit 5fdee2f829
3 changed files with 11 additions and 5 deletions

View file

@ -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