mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Fix nullability warning
This commit is contained in:
1 parent
766dd50aeb
commit
2b65860293
1 file changed
+3
-1
@@ -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
|
||||
Reference in new issue
Block a user