More explicit report when scan identity test fails
[ZOOM-Perl-moved-to-github.git] / t / 25-scan.t
index 40fd46f..a3fc171 100644 (file)
@@ -1,5 +1,3 @@
-# $Id: 25-scan.t,v 1.11 2007-08-16 17:19:35 mike Exp $
-
 # Before `make install' is performed this script should be runnable with
 # `make test'. After `make install' it should work as `perl 25-scan.t'
 
@@ -30,7 +28,7 @@ foreach my $i (1 .. $n) {
     (my $disp, $occ) = $ss->display_term($i-1);
     ok(defined $disp,
        "display term $i of $n: '$disp' ($occ occurences)");
-    ok($disp eq $term, "display term $i identical to term");
+    ok($disp eq $term, "display term $i ($disp) identical to term ($term)");
 }
 
 $ss->destroy();