我被这个错误难住了。XCTAssertNotNil自动完成,代码看起来微不足道。"Parse issue“看起来很奇怪,一共有3个。
我试着展示看不见的东西来寻找任何奇怪的空间和东西,但什么也找不到。
我在其他测试中使用Specta/Xpecta/OCMock。使用Cocoapods
#import <XCTest/XCTest.h>
@interface SPRecipientDataViewModelTests : XCTestCase
@end
@implementation SPRecipientDataViewModelTests
- (void)testHelloNotNil {
XCTAssertNotNil(@"hello", @"hello is nil");
}


发布于 2015-05-05 07:31:06
看起来问题出在Specta上。看起来我用的是它的老版本。更新到最新的Specta修复了这个问题。看起来和XCTest有一些冲突
https://stackoverflow.com/questions/29836106
复制相似问题