Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzBusch committed Jul 18, 2024
1 parent e08c027 commit c4ce70f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tests/NIOCoreTests/LinuxTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class LinuxTest: XCTestCase {

func testCoreCountCpuset() throws {
#if os(Linux) || os(Android)
let cpuSets = [
let cpusets = [
("0", 1),
("0,3", 2),
("0-3", 4),
Expand All @@ -53,7 +53,7 @@ class LinuxTest: XCTestCase {
("0,2-4,6,7,9-11", 9),
("", nil),
]
for (cpuSet, count) in cpuSets {
for (cpuset, count) in cpusets {
try withTemporaryFile(content: cpuset) { (_, path) -> Void in
XCTAssertEqual(Linux.coreCount(cpuset: path), count)
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/NIOHTTP1Tests/HTTPDecoderTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ class HTTPDecoderTest: XCTestCase {
channel.pipeline.syncOperations.removeHandler(decoder),
]
channel.embeddedEventLoop.run()
for future in try removalFutures {
for future in removalFutures {
XCTAssertNoThrow(try future.wait())
}
XCTAssertNoThrow(
Expand Down

0 comments on commit c4ce70f

Please sign in to comment.