From d0b5a726205b4cc06fdab9edbc170ec0a45251f1 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Sat, 24 Nov 2012 10:50:14 +0000 Subject: Quote the test-type if we fail to create one. --- lib/custodian/testfactory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian') diff --git a/lib/custodian/testfactory.rb b/lib/custodian/testfactory.rb index be5584c..179b050 100644 --- a/lib/custodian/testfactory.rb +++ b/lib/custodian/testfactory.rb @@ -41,7 +41,7 @@ module Custodian if c c.new( line ) else - raise ArgumentError, "Bad test type: #{test_type}" + raise ArgumentError, "Bad test type: '#{test_type}'" end else raise "Unknown line given - Failed to instantiate a suitable protocol-test: '#{line}'" -- cgit v1.2.1