Re: Getting a handle on inf
Re: Getting a handle on inf
- Subject: Re: Getting a handle on inf
- From: Kyle Sluder <email@hidden>
- Date: Mon, 26 Oct 2009 11:31:48 -0700
On Mon, Oct 26, 2009 at 11:26 AM, Ian Piper <email@hidden> wrote:
> STAssertEquals("inf", [newTemperatureInC stringValue], @"Expecting inf; we
> got %s", [newTemperatureInC stringValue]);
-stringValue returns an NSString, you used a %s specifier rather than %@.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden