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-queue.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't/test-custodian-queue.rb') 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 # -- cgit v1.2.1