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
commit21793bb9e03267b91865f587f7f4cd1d5a6f9492 (patch)
tree654af499bedb6b5e1bc1dfaec08ca26a8c1f1581 /lib/custodian
parent9dcf6c41f3d8a7600714afa49be497be484c46a1 (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}'"