Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoEmbrace committed Sep 23, 2024
1 parent 390f8bb commit 8307a6c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,18 +176,18 @@ private extension StorageEmbraceLogExporterTests {
}

class SpyLogBatcher: LogBatcher {
private (set) var didCallAddLogRecord: Bool = false
private (set) var addLogRecordInvocationCount: Int = 0
private (set) var logRecords = [LogRecord]()
private(set) var didCallAddLogRecord: Bool = false
private(set) var addLogRecordInvocationCount: Int = 0
private(set) var logRecords = [LogRecord]()

func addLogRecord(logRecord: LogRecord) {
didCallAddLogRecord = true
addLogRecordInvocationCount += 1
logRecords.append(logRecord)
}

private (set) var didCallRenewBatch: Bool = false
private (set) var renewBatchInvocationCount: Int = 0
private(set) var didCallRenewBatch: Bool = false
private(set) var renewBatchInvocationCount: Int = 0
func renewBatch(withLogs logRecords: [LogRecord]) {
didCallRenewBatch = true
renewBatchInvocationCount += 1
Expand Down

0 comments on commit 8307a6c

Please sign in to comment.