From 2b65860293b7c9381e82e0ee6a8a230dd166bbea Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 6 Aug 2016 21:01:15 -0400 Subject: [PATCH] Fix nullability warning --- Tests/SUUpdaterTest.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tests/SUUpdaterTest.m b/Tests/SUUpdaterTest.m index 6219cd9b..1e94206a 100644 --- a/Tests/SUUpdaterTest.m +++ b/Tests/SUUpdaterTest.m @@ -107,7 +107,9 @@ - (void)testSetTestFeedURL { - [self.updater setFeedURL:[NSURL URLWithString:@""]]; // this WON'T throw + NSURL *emptyURL = [NSURL URLWithString:@""]; + XCTAssertNotNil(emptyURL); + [self.updater setFeedURL:emptyURL]; // this WON'T throw } @end