Permalink
Browse files

Also test negative hours. Works.

  • Loading branch information...
Peter Hosey
Peter Hosey committed Sep 25, 2011
1 parent 7f0826c commit 482c397de8d3637cde9d3a4c3bfd130b3d29ec89
Showing with 2 additions and 1 deletion.
  1. +2 −1 testunparsewithtime.m
View
@@ -10,8 +10,9 @@ int main(void) {
NSDate *date = [NSDate dateWithTimeIntervalSinceReferenceDate:336614400.0];
NSLog(@"2011-09-01 at 5 PM ET: %@", [formatter stringFromDate:date]);
- testFormatStrings(2, 6);
testFormatStrings(11, 6);
+ testFormatStrings(2, 6);
+ testFormatStrings(-2, 6);
[pool drain];
return EXIT_SUCCESS;

0 comments on commit 482c397

Please sign in to comment.