I'm trying to convert some code that used the old(er) SenTesting framework. Now I want to use the XCTest stuff. I have the following line:
STAssertEquals(<int>, <int>, NULL); // <int> is just a int-type variable or constant I figure the closest is: XCTAssertEquals, but what does the NULL in the above line do? The 3rd argument for XCTAssertEquals is (I believe) (NSString *), in which case a "nil" should work, but Xcode complains. For now, I just have: XCTAssertEquals(<int>, <int>, @""); but this seems ugly. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
