approvals / ApprovalTests.cpp.Qt

Apache License 2.0
15 stars 2 forks source link

Create valid image files for new image-based approval tests #7

Closed claremacrae closed 3 years ago

claremacrae commented 3 years ago

Currently, an empty (0-byte) .png file is created, which causes diff tools to say things like:

"Unable to load the image file. It might not be one of the supported formats."

claremacrae commented 3 years ago

The addition of a seam in ApprovalTest for this should make this fairly easy to implement: https://github.com/approvals/ApprovalTests.cpp/issues/172

claremacrae commented 3 years ago

This is now done and will be in the next release