mirror of
https://github.com/apple/swift-system
synced 2026-11-29 05:24:25 +00:00
[test] fix spelling error
This commit is contained in:
1 parent
ab11b74b39
commit
e4b352c650
1 file changed
+2
-2
@@ -325,7 +325,7 @@ final class IORingTests: XCTestCase {
|
||||
|
||||
// Submit a pollAdd request to monitor for POLLIN events (data available for reading)
|
||||
let enqueued = try ring.submit(linkedRequests:
|
||||
.pollAdd(testEventFD, pollEvents: .pollin, isMultiShot: false, context: pollInContext))
|
||||
.pollAdd(testEventFD, pollEvents: .pollIn, isMultiShot: false, context: pollInContext))
|
||||
XCTAssert(enqueued)
|
||||
|
||||
// Write to the eventfd to trigger the POLLIN event
|
||||
@@ -360,7 +360,7 @@ final class IORingTests: XCTestCase {
|
||||
// Submit a pollAdd request to monitor for POLLOUT events (ready for writing)
|
||||
// Pipes are typically ready for writing when empty
|
||||
let enqueuedOut = try ring.submit(linkedRequests:
|
||||
.pollAdd(writeFD, pollEvents: .pollout, isMultiShot: false, context: pollOutContext))
|
||||
.pollAdd(writeFD, pollEvents: .pollOut, isMultiShot: false, context: pollOutContext))
|
||||
XCTAssert(enqueuedOut)
|
||||
|
||||
// Consume the completion from the poll operation
|
||||
|
||||
Reference in new issue
Block a user