Update of /cvsroot/popfile/engine
In directory sc8-pr-cvs1:/tmp/cvs-serv25604
Modified Files:
tests.pl
Log Message:
Small change to make error reporting a bit clearer
Index: tests.pl
===================================================================
RCS file: /cvsroot/popfile/engine/tests.pl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** tests.pl 26 Jul 2003 18:28:27 -0000 1.23
--- tests.pl 31 Jul 2003 14:21:10 -0000 1.24
***************
*** 105,109 ****
}
! test_report( $result, "expecting $expected and got $test", $file, $line, $context );
}
--- 105,109 ----
}
! test_report( $result, "expecting [$expected] and got [$test]", $file, $line, $context );
}
***************
*** 130,134 ****
my $result = ( $test =~ /$expected/ );
! test_report( $result, "expecting to match $expected and got $test", $file, $line, $context );
}
--- 130,134 ----
my $result = ( $test =~ /$expected/ );
! test_report( $result, "expecting to match [$expected] and got [$test]", $file, $line, $context );
}
|