Title: [opsview] [5341] Fix test which wrote data to stdout, clashing with TAP output
Revision
5341
Author
tvoon
Date
2010-11-08 21:35:05 +0000 (Mon, 08 Nov 2010)

Log Message

Fix test which wrote data to stdout, clashing with TAP output

Modified Paths


Modified: trunk/opsview-web/t/656-api2-lib.t
===================================================================
--- trunk/opsview-web/t/656-api2-lib.t	2010-11-08 17:54:53 UTC (rev 5340)
+++ trunk/opsview-web/t/656-api2-lib.t	2010-11-08 21:35:05 UTC (rev 5341)
@@ -49,8 +49,9 @@
 is( $data->{object}->{alias}, "changed by rest api",  "changed by rest api" );
 
 eval {
-    $ua->post( "config/host", '{"name":"opsview"}' );
+    diag( $ua->post( "config/host", '{"name":"opsview"}' ) );
 };
+diag("Cause a linefeed");
 is( $ua->mech->status, 400 );
 $content = $ua->content;
 $data = "" $content );

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to