From e40cb1a06cfdbb9853e8b55295921ef4f7a99c44 Mon Sep 17 00:00:00 2001 From: Karsten Sperling Date: Wed, 29 Jan 2025 13:00:20 +1300 Subject: [PATCH] Fix spelling of "analyzer" --- Sources/xcresultparser/XCResultFormatter.swift | 2 +- Tests/XcresultparserTests/XcresultparserTests.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/xcresultparser/XCResultFormatter.swift b/Sources/xcresultparser/XCResultFormatter.swift index a433fcf..e1a2d3c 100644 --- a/Sources/xcresultparser/XCResultFormatter.swift +++ b/Sources/xcresultparser/XCResultFormatter.swift @@ -189,7 +189,7 @@ public struct XCResultFormatter { summary += "; Warnings: \(warningCount)" } if summaryFields.enabledFields.contains(.analyzerWarnings) { - summary += "; Analizer Warnings: \(analyzerWarningCount)" + summary += "; Analyzer Warnings: \(analyzerWarningCount)" } if summaryFields.enabledFields.contains(.tests) { summary += "; Tests: \(testsCount)" diff --git a/Tests/XcresultparserTests/XcresultparserTests.swift b/Tests/XcresultparserTests/XcresultparserTests.swift index cdabc25..c5dab04 100644 --- a/Tests/XcresultparserTests/XcresultparserTests.swift +++ b/Tests/XcresultparserTests/XcresultparserTests.swift @@ -181,7 +181,7 @@ final class XcresultparserTests: XCTestCase { } XCTAssertEqual("", resultParser.documentPrefix(title: "XCResults")) - let expectedSummary = "Errors: 0; Warnings: 3; Analizer Warnings: 0; Tests: 7; Failed: 1; Skipped: 0" + let expectedSummary = "Errors: 0; Warnings: 3; Analyzer Warnings: 0; Tests: 7; Failed: 1; Skipped: 0" XCTAssertEqual(expectedSummary, resultParser.summary) XCTAssertEqual("\n---------------------\n", resultParser.divider)