From bcc83f15b9da02e648d137dfd44ee9e9ef5eb32e Mon Sep 17 00:00:00 2001 From: Paul LeMarquand Date: Wed, 5 Nov 2025 09:22:53 -0500 Subject: [PATCH] Fixup TestExplorer log messages Issue: #1915 --- src/TestExplorer/TestExplorer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TestExplorer/TestExplorer.ts b/src/TestExplorer/TestExplorer.ts index df06e9763..271a18005 100644 --- a/src/TestExplorer/TestExplorer.ts +++ b/src/TestExplorer/TestExplorer.ts @@ -100,7 +100,7 @@ export class TestExplorer { const target = await folder.swiftPackage.getTarget(uri.fsPath); if (target?.type !== "test") { this.logger.info( - `Target ${target} is not a test target, aborting looking for tests within it`, + `Target ${target?.name ?? "undefined"} is not a test target, aborting looking for tests within it`, "Test Explorer" ); return; @@ -110,7 +110,7 @@ export class TestExplorer { try { const tests = await this.lspTestDiscovery.getDocumentTests(folder.swiftPackage, uri); this.logger.info( - `LSP test discovert found ${tests.length} top level tests`, + `LSP test discovery found ${tests.length} top level tests`, "Test Explorer" ); TestDiscovery.updateTestsForTarget(