Skip to content

Commit

Permalink
Fix test, remove assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Dec 18, 2023
1 parent 764a11f commit 2df0a9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Sources/CocoaLumberjack/DDFileLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ - (instancetype)init {
}

- (void)didAddToFileLogger:(DDFileLogger *)fileLogger {
NSAssert(!_wasAddedToLogger, @"Added to logger multiple times!");
_wasAddedToLogger = YES;
}

Expand Down
1 change: 1 addition & 0 deletions Tests/CocoaLumberjackTests/DDFileLoggerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ - (void)tearDown {
XCTAssertTrue([[NSFileManager defaultManager] removeItemAtPath:logsDirectory error:&error]);
XCTAssertNil(error);

logFileManager = nil;
logger = nil;
logsDirectory = nil;
}
Expand Down

0 comments on commit 2df0a9e

Please sign in to comment.