From 59894c8015639d5372b0ee96e19ae3655abee418 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Wed, 12 Mar 2025 13:46:37 +0330 Subject: [PATCH 1/5] docs: fix spelling of 'successfully' --- Tests/SwiftBuildTests/ArenaIndexingInfoTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/SwiftBuildTests/ArenaIndexingInfoTests.swift b/Tests/SwiftBuildTests/ArenaIndexingInfoTests.swift index 207b1099..d8072525 100644 --- a/Tests/SwiftBuildTests/ArenaIndexingInfoTests.swift +++ b/Tests/SwiftBuildTests/ArenaIndexingInfoTests.swift @@ -777,7 +777,7 @@ struct ArenaIndexingInfoTests: CoreBasedTests { let info = try await IndexingInfoResults(infoProducer.generateIndexingInfo(target, .macOS, filePath: projectDir.join("main.c").str)) await info.checkIndexingInfo { info in do { - // We should be able to successfuly run the resulting command line from indexing info + // We should be able to successfully run the resulting command line from indexing info let success = try await Process.run(url: URL(fileURLWithPath: clangCompilerPath.str), arguments: info.clang.commandLineAsByteStrings.map { $0.asString }).isSuccess #expect(success) } catch { @@ -860,7 +860,7 @@ struct ArenaIndexingInfoTests: CoreBasedTests { let info = try await IndexingInfoResults(infoProducer.generateIndexingInfo(target, .macOS, filePath: projectDir.join("main.swift").str)) await info.checkIndexingInfo { info in do { - // We should be able to successfuly run the resulting command line from indexing info + // We should be able to successfully run the resulting command line from indexing info let success = try await Process.run(url: URL(fileURLWithPath: swiftCompilerPath.str), arguments: info.swift.commandLineAsByteStrings.map { $0.asString }).isSuccess #expect(success) } catch { From 9b2da8180071ae26fe5660daf2bf7735667ee358 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Wed, 12 Mar 2025 13:47:05 +0330 Subject: [PATCH 2/5] fix: spelling of `forward` --- Tests/SWBUtilTests/FnmatchTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SWBUtilTests/FnmatchTests.swift b/Tests/SWBUtilTests/FnmatchTests.swift index 3a29cab2..d8f68df4 100644 --- a/Tests/SWBUtilTests/FnmatchTests.swift +++ b/Tests/SWBUtilTests/FnmatchTests.swift @@ -198,7 +198,7 @@ import SWBUtil } @Test - func fowardAndBackSlashMatch() throws { + func forwardAndBackSlashMatch() throws { // these test that '\' is handled correctly in character sets. try assertFnmatch(pattern: "\\foo\\bar\\*\\", input: "\\foo\\bar\\baz\\baz\\") try assertFnmatch(pattern: #"[\]"#, input: #"\"#) From e6f1649f4d7e09f8e78758019e5c6ba94234a6ec Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Wed, 12 Mar 2025 13:48:23 +0330 Subject: [PATCH 3/5] docs: fix spelling of `disabling` --- Tests/SWBCoreTests/SettingsTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SWBCoreTests/SettingsTests.swift b/Tests/SWBCoreTests/SettingsTests.swift index c5a50c0e..4d6fba84 100644 --- a/Tests/SWBCoreTests/SettingsTests.swift +++ b/Tests/SWBCoreTests/SettingsTests.swift @@ -3003,7 +3003,7 @@ import SWBMacro let expected = settings.globalScope.evaluate(expectedMacro) #expect(actual == expected) if !expected { - // We do not currently emit any reasons for diabling in the notes. + // We do not currently emit any reasons for disabling in the notes. #expect(settings.notes == []) } else { From 7ea38929d6d62e25a79c164e1950c8669f10c629 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Wed, 12 Mar 2025 13:48:52 +0330 Subject: [PATCH 4/5] docs: fix spelling of `interfere` --- .../SWBBuildSystemTests/DevelopmentAssetsDiagnosticTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SWBBuildSystemTests/DevelopmentAssetsDiagnosticTests.swift b/Tests/SWBBuildSystemTests/DevelopmentAssetsDiagnosticTests.swift index 6984b6a8..ac6f7cc3 100644 --- a/Tests/SWBBuildSystemTests/DevelopmentAssetsDiagnosticTests.swift +++ b/Tests/SWBBuildSystemTests/DevelopmentAssetsDiagnosticTests.swift @@ -344,7 +344,7 @@ fileprivate struct DevelopmentAssetsDiagnosticTests: CoreBasedTests { @Test(.requireSDKs(.macOS)) func developmentAssetsOverriddenSRCROOT() async throws { try await withTemporaryDirectory { tmpDirPath in - // Some environments override SRCROOT but that shouldn't interfer with relative paths in DEVELOPMENT_ASSET_PATHS since they are based in PROJECT_DIR + // Some environments override SRCROOT but that shouldn't interfere with relative paths in DEVELOPMENT_ASSET_PATHS since they are based in PROJECT_DIR let testProject = TestProject( "aProject", sourceRoot: tmpDirPath, From 571c041ec9897a1899f95783895a7bc4cd7c5030 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Wed, 12 Mar 2025 13:49:07 +0330 Subject: [PATCH 5/5] docs: fix a typo in `embed` --- Tests/SWBBuildSystemTests/BuildOperationTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SWBBuildSystemTests/BuildOperationTests.swift b/Tests/SWBBuildSystemTests/BuildOperationTests.swift index 65877a3f..577923af 100644 --- a/Tests/SWBBuildSystemTests/BuildOperationTests.swift +++ b/Tests/SWBBuildSystemTests/BuildOperationTests.swift @@ -5880,7 +5880,7 @@ That command depends on command in Target 'agg2' (project \'aProject\'): script results.checkNoDiagnostics() } - // Need to re-codesign based on the embedd; existing behavior that we should address too. + // Need to re-codesign based on the embed; existing behavior that we should address too. try await tester.checkBuild(persistent: true, signableTargets: signableTargets) { _ in } // Validate a null build.