summaryrefslogtreecommitdiff
path: root/t/test-custodian-settings.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 /t/test-custodian-settings.rb
parentbb2ec1f07af747c69f2fd1e5b70c41b35fb069e6 (diff)
Prefer single-quotes when you don't need interpolation.
So "foo" is less good than 'foo'.
Diffstat (limited to 't/test-custodian-settings.rb')
-rwxr-xr-xt/test-custodian-settings.rb8
1 files changed, 4 insertions, 4 deletions
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 )