summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 10:50:14 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 10:50:14 +0000
commitd0b5a726205b4cc06fdab9edbc170ec0a45251f1 (patch)
tree654af499bedb6b5e1bc1dfaec08ca26a8c1f1581 /lib/custodian
parent0631befbe7132b2e7f693a57e9634314f57e7125 (diff)
Quote the test-type if we fail to create one.
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/testfactory.rb2
1 files changed, 1 insertions, 1 deletions
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}'"