facebookarchive / ios-snapshot-test-case

Snapshot view unit tests for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting FB_REFERENCE_IMAGE_DIR as a preprocessor macro broken in 2.1.4

alanzeino opened this issue · comments

This change broke the ability to set FB_REFERENCE_IMAGE_DIR as a preprocessor macro. By moving all that code from a macro to 'debuggable code', the preprocessor step now always uses the default "" as here:

#ifndef FB_REFERENCE_IMAGE_DIR
#define FB_REFERENCE_IMAGE_DIR ""
#endif