diff options
author | 2013-08-28 14:00:45 +0000 | |
---|---|---|
committer | 2013-08-28 14:00:45 +0000 | |
commit | 3fab2185e91f54c63c1fc534db9afb0449b70f2f (patch) | |
tree | 887ee4353478b1cf822fea11f2aaa4fae5c4415b /UnitTesting/GTMUIKit+UnitTesting.h | |
parent | dc8a578a50173b642b272fe4092e7d583846e2e5 (diff) |
Fix "Format string is not a string literal" compile error
DELTA=1 (0 added, 0 deleted, 1 changed)
Diffstat (limited to 'UnitTesting/GTMUIKit+UnitTesting.h')
-rw-r--r-- | UnitTesting/GTMUIKit+UnitTesting.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UnitTesting/GTMUIKit+UnitTesting.h b/UnitTesting/GTMUIKit+UnitTesting.h index ee420e9..a9052f2 100644 --- a/UnitTesting/GTMUIKit+UnitTesting.h +++ b/UnitTesting/GTMUIKit+UnitTesting.h @@ -56,7 +56,7 @@ void *a4ContextInfo = (a4); \ CGRect frame = CGRectMake(0, 0, a2Size.width, a2Size.height); \ GTMUnitTestView *view = [[[GTMUnitTestView alloc] initWithFrame:frame drawer:a1Drawer contextInfo:a4ContextInfo] autorelease]; \ - GTMAssertObjectImageEqualToImageNamed(view, a3String, STComposeString(description, ##__VA_ARGS__)); \ + GTMAssertObjectImageEqualToImageNamed(view, a3String, @"%@", STComposeString(description, ##__VA_ARGS__)); \ } while(0) // Category for making unit testing of graphics/UI easier. |