From a22b8e96ead33b0f97ed5243dbad7f7b6cd5135d 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-settings.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 't/test-custodian-settings.rb') diff --git a/t/test-custodian-settings.rb b/t/test-custodian-settings.rb index 0347e7c..1923b0f 100755 --- a/t/test-custodian-settings.rb +++ b/t/test-custodian-settings.rb @@ -50,13 +50,13 @@ class TestConfigurationSingleton < Test::Unit::TestCase assert( a.class == Fixnum ) # store a number - settings._store( "retry_delay", 5 ) + settings._store( 'retry_delay', 5 ) a = settings.retry_delay assert( a.class == Fixnum ) assert( a == 5 ) # store a string - settings._store( "retry_delay", "35" ) + settings._store( 'retry_delay', '35' ) a = settings.retry_delay assert( a.class == Fixnum ) assert( a == 35 ) @@ -68,13 +68,13 @@ class TestConfigurationSingleton < Test::Unit::TestCase assert( a.class == Fixnum ) # store a number - settings._store( "timeout", 5 ) + settings._store( 'timeout', 5 ) a = settings.timeout assert( a.class == Fixnum ) assert( a == 5 ) # store a string - settings._store( "timeout", "35" ) + settings._store( 'timeout', '35' ) a = settings.timeout assert( a.class == Fixnum ) assert( a == 35 ) -- cgit v1.2.1