Fix SwiftLint identifier name violation

- Change 'i' to 'index' in ListCommandTests to meet SwiftLint requirements
This commit is contained in:
Peter Steinberger 2025-05-25 19:14:13 +02:00
parent 8894154be6
commit 6b3d887547

View file

@ -229,12 +229,12 @@ final class ListCommandTests: XCTestCase {
func testApplicationInfoEncodingPerformance() throws {
// Test performance of encoding many applications
let apps = (0..<100).map { i in
let apps = (0..<100).map { index in
ApplicationInfo(
name: "App\(i)",
bundleIdentifier: "com.example.app\(i)",
processIdentifier: pid_t(1000 + i),
isActive: i == 0
name: "App\(index)",
bundleIdentifier: "com.example.app\(index)",
processIdentifier: pid_t(1000 + index),
isActive: index == 0
)
}