From af2ee063abea8235a8cbd1448533e4f4fbc0d0af Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:19:15 +0000 Subject: Prefer single-quotes when you don't need interpolation. So "foo" is less good than 'foo'. --- t/test-custodian-util-ping.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't/test-custodian-util-ping.rb') diff --git a/t/test-custodian-util-ping.rb b/t/test-custodian-util-ping.rb index bf8ac43..e01ef8d 100755 --- a/t/test-custodian-util-ping.rb +++ b/t/test-custodian-util-ping.rb @@ -34,7 +34,7 @@ class TestPingUtil < Test::Unit::TestCase # Normal construction works. # assert_nothing_raised do - Custodian::Util::Ping.new("foo") + Custodian::Util::Ping.new('foo') end # @@ -64,7 +64,7 @@ class TestPingUtil < Test::Unit::TestCase # def test_lookup_ipv4 - helper = Custodian::Util::Ping.new( "ipv4.steve.org.uk" ) + helper = Custodian::Util::Ping.new( 'ipv4.steve.org.uk' ) assert( helper.is_ipv4? ) assert( ! helper.is_ipv6? ) @@ -76,7 +76,7 @@ class TestPingUtil < Test::Unit::TestCase # def test_lookup_ipv6 - helper = Custodian::Util::Ping.new( "ipv6.steve.org.uk" ) + helper = Custodian::Util::Ping.new( 'ipv6.steve.org.uk' ) assert( helper.is_ipv6? ) assert( ! helper.is_ipv4? ) end -- cgit v1.2.1