Bug 7095: Fixing cut and paste error and removing the use of diag() as this does...
authorChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 26 Oct 2011 15:14:05 +0000 (11:14 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 18 Nov 2011 21:51:28 +0000 (22:51 +0100)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
t/00-merge-conflict-markers.t

index 24743ae..da11a58 100644 (file)
@@ -49,8 +49,7 @@ find({
         }
         close $fh;
         if ($marker_found) {
-            fail("$file has no merge conflict markers");
-            diag("marker found in line $line");
+            fail("$file contains merge conflict markers in line $line");
         } else {
             pass("$file has no merge conflict markers");
         }