From 67b906745f8850b3af18cc049a97041e3bd39ae1 Mon Sep 17 00:00:00 2001 From: William Morriss Date: Fri, 6 Jul 2018 19:58:28 -0700 Subject: [PATCH] fix color test --- FBTweakTests/FBTweakInlineTestsMRR.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FBTweakTests/FBTweakInlineTestsMRR.m b/FBTweakTests/FBTweakInlineTestsMRR.m index 0fe760ea..2a9aeb95 100644 --- a/FBTweakTests/FBTweakInlineTestsMRR.m +++ b/FBTweakTests/FBTweakInlineTestsMRR.m @@ -60,7 +60,7 @@ - (void)testValueTypes XCTAssertEqualObjects(testNSString, @"one", @"NSString %@", testNSString); __attribute__((unused)) UIColor *testUIColor = FBTweakValue(@"UIColor", @"UIColor", @"UIColor", [UIColor redColor]); - XCTAssertEqualObjects([UIColor redColor], [UIColor redColor], @"UIColor %@", testUIColor); + XCTAssertEqualObjects(testUIColor, [UIColor redColor], @"UIColor %@", testUIColor); __attribute__((unused)) NSString *testNSArray = FBTweakValue(@"NSArray", @"NSArray", @"NSArray", @"two", (@[@"one", @"two", @"three"])); XCTAssertEqualObjects(testNSArray, @"two", @"NSArray %@", testNSArray);