Skip to content

Commit aadca9c

Browse files
committed
[test] LoggingMutableCollection: Fix logging targets
1 parent 379a27d commit aadca9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/private/StdlibCollectionUnittest/LoggingWrappers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ extension LoggingMutableCollection: MutableCollection {
404404
MutableCollectionLog.withContiguousMutableStorageIfAvailable[selfType] += 1
405405
let result = try base.withContiguousMutableStorageIfAvailable(body)
406406
if result != nil {
407-
Log.withContiguousMutableStorageIfAvailable[selfType] += 1
407+
Log.withContiguousMutableStorageIfAvailableNonNilReturns[selfType] += 1
408408
}
409409
return result
410410
}
@@ -618,7 +618,7 @@ extension BufferAccessLoggingMutableCollection: MutableCollection {
618618
Log.withContiguousMutableStorageIfAvailable[selfType] += 1
619619
let result = try base.withContiguousMutableStorageIfAvailable(body)
620620
if result != nil {
621-
Log.withContiguousMutableStorageIfAvailable[selfType] += 1
621+
Log.withContiguousMutableStorageIfAvailableNonNilReturns[selfType] += 1
622622
}
623623
return result
624624
}

0 commit comments

Comments
 (0)