aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_string.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-23 07:03:34 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-23 07:03:34 +0000
commit8587bbd69593e0cf61a527eeec2fa1b5f0df96af (patch)
tree550c396de292b77bc6deadef20b0731d141f96d1 /test/ruby/test_string.rb
parent3a7e03432aadbf045a5f91592b9cf406e3d93f2b (diff)
downloadruby-8587bbd69593e0cf61a527eeec2fa1b5f0df96af.tar.gz
* 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
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r--test/ruby/test_string.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index fba8d51b35..ce21db9815 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -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