mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-04-16 13:05:49 +00:00
Fix SwiftLint identifier name violation
- Change 'i' to 'index' in ListCommandTests to meet SwiftLint requirements
This commit is contained in:
parent
8894154be6
commit
6b3d887547
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue