From 431ff502a8184db8ca1f92a59ff7597a94f55771 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 25 May 2025 19:25:35 +0200 Subject: [PATCH] Fix ApplicationInfo property name in test - Change 'name' to 'app_name' to match actual ApplicationInfo struct --- peekaboo-cli/Tests/peekabooTests/ApplicationFinderTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peekaboo-cli/Tests/peekabooTests/ApplicationFinderTests.swift b/peekaboo-cli/Tests/peekabooTests/ApplicationFinderTests.swift index 0c82983..cf960a0 100644 --- a/peekaboo-cli/Tests/peekabooTests/ApplicationFinderTests.swift +++ b/peekaboo-cli/Tests/peekabooTests/ApplicationFinderTests.swift @@ -57,7 +57,7 @@ final class ApplicationFinderTests: XCTestCase { XCTAssertGreaterThan(apps.count, 0) // Should include Finder - let hasFinder = apps.contains { $0.name == "Finder" } + let hasFinder = apps.contains { $0.app_name == "Finder" } XCTAssertTrue(hasFinder, "Finder should always be running") }