diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-21 23:15:44 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-21 23:15:44 +0000 |
commit | 7d153d8f22fc767108103cd8fdfc056e2656b914 (patch) | |
tree | f56a9b3b97fb623d836d70363f84f913f1584011 /bin | |
parent | 1e03e807d496d2c3cf92ff3429fe8d95427eb64c (diff) |
Added .to_json method to serialize our tests.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/custodian-parse-execute | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/custodian-parse-execute b/bin/custodian-parse-execute index 5ef48a7..22c29b8 100755 --- a/bin/custodian-parse-execute +++ b/bin/custodian-parse-execute @@ -38,7 +38,9 @@ end begin c = ProtocolTest.create( txt ) - puts "created object: #{c.to_s}" + puts "created object of class type #{c.class}" + puts ".to_s : #{c.to_s}" + puts ".to_json : #{c.to_json}" if ( c.run_test ) puts "Test succeeded" |