summaryrefslogtreecommitdiff
path: root/t/test-custodian-queue.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-queue.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-queue.rb')
-rwxr-xr-xt/test-custodian-queue.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/test-custodian-queue.rb b/t/test-custodian-queue.rb
index 0170ef1..bec83e2 100755
--- a/t/test-custodian-queue.rb
+++ b/t/test-custodian-queue.rb
@@ -40,7 +40,7 @@ class TestCustodianQueue < Test::Unit::TestCase
# creation will fail
assert_raise RuntimeError do
- t = Custodian::QueueType.create( "foo" )
+ t = Custodian::QueueType.create( 'foo' )
end
end
@@ -50,7 +50,7 @@ class TestCustodianQueue < Test::Unit::TestCase
def test_redis
q = nil
assert_nothing_raised do
- q = Custodian::QueueType.create( "redis" )
+ q = Custodian::QueueType.create( 'redis' )
end
#
@@ -68,7 +68,7 @@ class TestCustodianQueue < Test::Unit::TestCase
def test_beanstalkd
q = nil
assert_nothing_raised do
- q = Custodian::QueueType.create( "redis" )
+ q = Custodian::QueueType.create( 'redis' )
end
#