From b49ac0943a47fcecb71b88dc7f7b64b80d5cf6ff Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 6 Dec 2017 22:45:12 +0300 Subject: fix test target --- JuickTests/JuickTests.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'JuickTests') 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 -- cgit v1.2.3