From 21793bb9e03267b91865f587f7f4cd1d5a6f9492 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(-) 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