summaryrefslogtreecommitdiff
path: root/t/test-custodian-parser.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:21:36 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:21:36 +0000
commitd07ac8ecbedb4831e5aa677b8878f0e8eb37e363 (patch)
treef7bc6a6fdd381ffa7d73f487d3f10f6e65a798e4 /t/test-custodian-parser.rb
parent16b766cff0984494c7b81c1efc08e6386ae819f8 (diff)
Whitespace fixups.
These were all identified and suggested by rubocop.
Diffstat (limited to 't/test-custodian-parser.rb')
-rwxr-xr-xt/test-custodian-parser.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/t/test-custodian-parser.rb b/t/test-custodian-parser.rb
index 514f2a4..6d612b1 100755
--- a/t/test-custodian-parser.rb
+++ b/t/test-custodian-parser.rb
@@ -109,7 +109,7 @@ class TestCustodianParser < Test::Unit::TestCase
#
parser = Custodian::Parser.new
# 3.a. Comment lines return nil.
- str =<<EOF
+ str = <<EOF
# This is a comment
# This is also a fine comment
EOF
@@ -139,7 +139,7 @@ EOF
#
# Input text
#
- text =<<EOF
+ text = <<EOF
FOO is kvm1.vm.bytemark.co.uk.
TEST is kvm2.vm.bytemark.co.uk.
EOF
@@ -154,7 +154,7 @@ EOF
# We should now have two macros.
#
macros = parser.macros
- assert(! macros.empty?)
+ assert(!macros.empty?)
assert(macros.size == 2)
end
@@ -185,7 +185,7 @@ EOF
# We should now have two macros.
#
macros = parser.macros
- assert(! macros.empty?)
+ assert(!macros.empty?)
assert(macros.size == 2)
end
@@ -218,7 +218,7 @@ EOF
# We should now have one macro.
#
macros = parser.macros
- assert(! macros.empty?)
+ assert(!macros.empty?)
assert(macros.size == 1)
end
@@ -308,7 +308,7 @@ EOF
if follow
assert(obj[0].follow_redirects?)
else
- assert(! obj[0].follow_redirects?)
+ assert(!obj[0].follow_redirects?)
end
end
end
@@ -347,7 +347,7 @@ EOF
if cb
assert(obj[0].cache_busting?)
else
- assert(! obj[0].cache_busting?)
+ assert(!obj[0].cache_busting?)
end
end
end