summaryrefslogtreecommitdiff
path: root/JuickTests
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-12-06 22:45:12 +0300
committerGravatar Vitaly Takmazov2017-12-06 22:45:12 +0300
commitb49ac0943a47fcecb71b88dc7f7b64b80d5cf6ff (patch)
tree47f8b9726c08dc13c3b0aaab37472594faef5016 /JuickTests
parente6287d244a25ec8f637e6da226f0251ed2259e93 (diff)
fix test target
Diffstat (limited to 'JuickTests')
-rw-r--r--JuickTests/JuickTests.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/JuickTests/JuickTests.m b/JuickTests/JuickTests.m
index 475a4f2..bb57f28 100644
--- a/JuickTests/JuickTests.m
+++ b/JuickTests/JuickTests.m
@@ -28,7 +28,9 @@
- (void)testExample
{
- XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__);
+ NSNumberFormatter *f = [NSNumberFormatter new];
+ f.numberStyle = NSNumberFormatterNoStyle;
+ XCTAssertEqual(123456, [[f numberFromString:@"123456"] integerValue]);
}
@end