Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin
In directory usw-pr-cvs1:/tmp/cvs-serv26999
Modified Files:
StatusTest.pm
Log Message:
Minor fixes
Index: StatusTest.pm
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Plugin/StatusTest.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** StatusTest.pm 17 Aug 2002 09:46:56 -0000 1.6
--- StatusTest.pm 17 Aug 2002 12:40:17 -0000 1.7
***************
*** 52,59 ****
my $ok = $code eq $expected_code;
! my $comment = $status_line;
! return ["Status code check ($expected_code)",
! $self->test_result($ok, $comment)];
}
--- 52,58 ----
my $ok = $code eq $expected_code;
! my $comment = "Expected '$expected_code' and got: " . $status_line;
! return ['Status code check', $self->test_result($ok, $comment)];
}
|