diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:18:27 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:18:27 +0000 |
commit | bb2ec1f07af747c69f2fd1e5b70c41b35fb069e6 (patch) | |
tree | f53779af0bda74824c01ee2be75f0dd144c5a467 /lib | |
parent | e950dc3c5163f1305deffede93e77209e90ecacb (diff) |
Prefer single-quoted strings inside interpolations.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/custodian/protocoltest/dns.rb | 2 | ||||
-rw-r--r-- | lib/custodian/protocoltest/http.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/dns.rb b/lib/custodian/protocoltest/dns.rb index c544b38..8d47e14 100644 --- a/lib/custodian/protocoltest/dns.rb +++ b/lib/custodian/protocoltest/dns.rb @@ -115,7 +115,7 @@ module Custodian # if !(results - @resolve_expected).empty? or !(@resolve_expected - results).empty? - @error = "DNS server *#{@host}* (#{@server_ip}) returned the wrong records for @#{resolve_name} IN #{resolve_type}@.\n\nWe expected '#{resolve_expected.join(",")}', but we received '#{results.join(",")}'\n" + @error = "DNS server *#{@host}* (#{@server_ip}) returned the wrong records for @#{resolve_name} IN #{resolve_type}@.\n\nWe expected '#{resolve_expected.join(',')}', but we received '#{results.join(',')}'\n" end @error.nil? diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb index 665e789..c43aee3 100644 --- a/lib/custodian/protocoltest/http.rb +++ b/lib/custodian/protocoltest/http.rb @@ -317,7 +317,7 @@ module Custodian # uh-oh! Resolution failed on both protocols! if resolution_errors.length > 1 - errors << "Hostname did not resolve for #{resolution_errors.join(", ")}" + errors << "Hostname did not resolve for #{resolution_errors.join(', ')}" end if errors.length > 0 |