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:
parent
00b6cf75e7
commit
dbe670c99d
@ -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)")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user