1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-11 05:05:23 +03:00

Fix #445 vaidate PNG only on mac

This commit is contained in:
Mark Goldin 2019-05-31 13:36:45 +07:00
parent 00b6cf75e7
commit dbe670c99d

View File

@ -212,9 +212,11 @@ class MacawSVGTests: XCTestCase {
//To save new PNG image for test, uncomment this
//saveImage(image: nativeImage, fileName: referenceFile)
#if os(OSX)
if shouldComparePNGImages {
validateImage(nodeImage: nativeImage, referenceFile: referenceFile)
}
#endif
} else {
XCTFail("No file \(referenceFile)")
}