summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/mx.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:15 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:15 +0000
commitaf2ee063abea8235a8cbd1448533e4f4fbc0d0af (patch)
tree969e448e2d5995f7e838a68ef1d25d54df9b8d29 /lib/custodian/protocoltest/mx.rb
parentbb2ec1f07af747c69f2fd1e5b70c41b35fb069e6 (diff)
Prefer single-quotes when you don't need interpolation.
So "foo" is less good than 'foo'.
Diffstat (limited to 'lib/custodian/protocoltest/mx.rb')
-rw-r--r--lib/custodian/protocoltest/mx.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/custodian/protocoltest/mx.rb b/lib/custodian/protocoltest/mx.rb
index 0df1b5d..61e838c 100644
--- a/lib/custodian/protocoltest/mx.rb
+++ b/lib/custodian/protocoltest/mx.rb
@@ -103,7 +103,7 @@ module Custodian
#
failed = 0
passed = 0
- error = ""
+ error = ''
mx.each do |backend|
@@ -116,7 +116,7 @@ module Custodian
# trim to a sane length & strip newlines.
if ! read.nil?
read = read[0,255]
- read.gsub!(/[\n\r]/, "")
+ read.gsub!(/[\n\r]/, '')
end
if read =~ /^220/
@@ -161,7 +161,7 @@ module Custodian
- register_test_type "mx"
+ register_test_type 'mx'