Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mlw committed Dec 5, 2023
1 parent c14618c commit 3529f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/common/ScopedCFTypeRefTest.mm
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ - (void)testRetain {
XCTAssertEqual(want, got);
}

// The original `array` object should still be invalid due to the extra retain.
// The original `array` object should still be valid due to the extra retain.
// Ensure the retain count has decreased since `scopedArray` went out of scope
XCTAssertEqual(1, CFArrayGetCount(array));
}
Expand Down
2 changes: 1 addition & 1 deletion Source/common/ScopedIOObjectRefTest.mm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ - (void)testRetain {
XCTAssertNotEqual(IO_OBJECT_NULL, scopedIORef.Unsafe());
}

// The original `service` object should still be invalid due to the extra retain.
// The original `service` object should still be valid due to the extra retain.
// Ensure the retain count has decreased since `scopedIORef` went out of scope.
XCTAssertEqual(1, IOObjectGetUserRetainCount(service));
}
Expand Down

0 comments on commit 3529f2c

Please sign in to comment.