diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-10-22 15:30:12 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2013-10-22 15:30:12 +0000 |
commit | 1e00b7a50df68a4c7200781fa5598030d06f5ee3 (patch) | |
tree | d9a2acf662b89b4c07ecdd4cde60906346d7b5b0 /UnitTesting | |
parent | d429cbcf0572d06795f01769ae1a947f54134242 (diff) |
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.
DELTA=3 (0 added, 0 deleted, 3 changed)
Diffstat (limited to 'UnitTesting')
-rw-r--r-- | UnitTesting/GTMNSObject+UnitTesting.m | 6 |
1 files changed, 3 insertions, 3 deletions
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]; |