From 1e00b7a50df68a4c7200781fa5598030d06f5ee3 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Tue, 22 Oct 2013 15:30:12 +0000 Subject: Put expected-actual-diff image paths each alone on a line, so it’s easier to turn them into 'open' commands or to pick them out to open in other ways. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DELTA=3 (0 added, 0 deleted, 3 changed) --- UnitTesting/GTMNSObject+UnitTesting.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'UnitTesting') diff --git a/UnitTesting/GTMNSObject+UnitTesting.m b/UnitTesting/GTMNSObject+UnitTesting.m index 5de6d05..df75f14 100644 --- a/UnitTesting/GTMNSObject+UnitTesting.m +++ b/UnitTesting/GTMNSObject+UnitTesting.m @@ -118,12 +118,12 @@ BOOL GTMIsObjectImageEqualToImageNamed(id object, } if ([data writeToFile:diffPath atomically:YES]) { failString = [NSString stringWithFormat:@"Object image different " - @"than file %@. Saved image to %@. " - @"Saved diff to %@", + @"than file\n%@\nSaved image to\n%@\n" + @"Saved diff to\n%@\n", aPath, fullSavePath, diffPath]; } else { failString = [NSString stringWithFormat:@"Object image different " - @"than file %@. Saved image to %@. Unable to save " + @"than file\n%@\nSaved image to\n%@\nUnable to save " @"diff. Most likely the image and diff are " @"different sizes.", aPath, fullSavePath]; -- cgit v1.2.3