diff options
| -rwxr-xr-x | t/test-custodian-parser.rb | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/t/test-custodian-parser.rb b/t/test-custodian-parser.rb index 841721d..e7b0bb5 100755 --- a/t/test-custodian-parser.rb +++ b/t/test-custodian-parser.rb @@ -299,8 +299,8 @@ EOF          # Create the new parser          #          obj = Custodian::TestFactory.create( str ) - -        assert(obj) +        assert(obj, "Instantiating a test works") +        assert( str == obj.to_s, "Getting back the test works" )          if ( follow )            assert( obj.follow_redirects? ) @@ -335,8 +335,8 @@ EOF          # Create the new parser          #          obj = Custodian::TestFactory.create( str ) - -        assert(obj) +        assert(obj, "Instantiating a test works") +        assert( str == obj.to_s, "Getting back the test works" )          if ( cb )            assert( obj.cache_busting? ) @@ -378,8 +378,8 @@ EOF          # Create the new parser          #          obj = Custodian::TestFactory.create( str ) - -        assert(obj) +        assert(obj, "Instantiating a test works") +        assert( str == obj.to_s, "Getting back the test works" )          if ( fail.nil? )            assert( obj.get_notification_text().nil? ) | 
