From 7782df6020704f51ee2d6194d8d3b74f28a53401 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:18:27 +0000 Subject: Prefer single-quoted strings inside interpolations. --- lib/custodian/protocoltest/dns.rb | 2 +- lib/custodian/protocoltest/http.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.1