summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-21 23:43:50 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-21 23:43:50 (GMT)
commita2f26bfaea29fa21cab01295fc98082234b97da9 (patch)
treec020940b20a73832708b1337a9af30a46e4ec9d7 /bootstraptest
parentae8c770ba5f2cef9e35a44c936eac1401109bfe1 (diff)
Remove trailing white spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rwxr-xr-xbootstraptest/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 68f0e80..d58b824 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -405,7 +405,7 @@ end
INDENT = 27
def adjust_indent(src)
- untabify(src).gsub(/^ {#{INDENT}}/o, '').gsub(/^/, ' ')
+ untabify(src).gsub(/^ {#{INDENT}}/o, '').gsub(/^/, ' ').sub(/\s*\z/, "\n")
end
def untabify(str)