Skip to content

Commit 13a2346

Browse files
authored
fix all remaining typos in the Tests directory (including the code and the comments) (#294)
1 parent 71df99c commit 13a2346

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Tests/SWBBuildSystemTests/BuildOperationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5880,7 +5880,7 @@ That command depends on command in Target 'agg2' (project \'aProject\'): script
58805880
results.checkNoDiagnostics()
58815881
}
58825882

5883-
// Need to re-codesign based on the embedd; existing behavior that we should address too.
5883+
// Need to re-codesign based on the embed; existing behavior that we should address too.
58845884
try await tester.checkBuild(runDestination: .macOS, persistent: true, signableTargets: signableTargets) { _ in }
58855885

58865886
// Validate a null build.

Tests/SWBBuildSystemTests/DevelopmentAssetsDiagnosticTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ fileprivate struct DevelopmentAssetsDiagnosticTests: CoreBasedTests {
344344
@Test(.requireSDKs(.macOS))
345345
func developmentAssetsOverriddenSRCROOT() async throws {
346346
try await withTemporaryDirectory { tmpDirPath in
347-
// Some environments override SRCROOT but that shouldn't interfer with relative paths in DEVELOPMENT_ASSET_PATHS since they are based in PROJECT_DIR
347+
// Some environments override SRCROOT but that shouldn't interfere with relative paths in DEVELOPMENT_ASSET_PATHS since they are based in PROJECT_DIR
348348
let testProject = TestProject(
349349
"aProject",
350350
sourceRoot: tmpDirPath,

Tests/SWBCoreTests/SettingsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3000,7 +3000,7 @@ import SWBMacro
30003000
let expected = settings.globalScope.evaluate(expectedMacro)
30013001
#expect(actual == expected)
30023002
if !expected {
3003-
// We do not currently emit any reasons for diabling in the notes.
3003+
// We do not currently emit any reasons for disabling in the notes.
30043004
#expect(settings.notes == [])
30053005
}
30063006
else {

Tests/SWBUtilTests/FnmatchTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ import SWBUtil
198198
}
199199

200200
@Test
201-
func fowardAndBackSlashMatch() throws {
201+
func forwardAndBackSlashMatch() throws {
202202
// these test that '\' is handled correctly in character sets.
203203
try assertFnmatch(pattern: "\\foo\\bar\\*\\", input: "\\foo\\bar\\baz\\baz\\")
204204
try assertFnmatch(pattern: #"[\]"#, input: #"\"#)

Tests/SwiftBuildTests/ArenaIndexingInfoTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ struct ArenaIndexingInfoTests: CoreBasedTests {
777777
let info = try await IndexingInfoResults(infoProducer.generateIndexingInfo(target, .macOS, filePath: projectDir.join("main.c").str))
778778
await info.checkIndexingInfo { info in
779779
do {
780-
// We should be able to successfuly run the resulting command line from indexing info
780+
// We should be able to successfully run the resulting command line from indexing info
781781
let success = try await Process.run(url: URL(fileURLWithPath: clangCompilerPath.str), arguments: info.clang.commandLineAsByteStrings.map { $0.asString }).isSuccess
782782
#expect(success)
783783
} catch {
@@ -860,7 +860,7 @@ struct ArenaIndexingInfoTests: CoreBasedTests {
860860
let info = try await IndexingInfoResults(infoProducer.generateIndexingInfo(target, .macOS, filePath: projectDir.join("main.swift").str))
861861
await info.checkIndexingInfo { info in
862862
do {
863-
// We should be able to successfuly run the resulting command line from indexing info
863+
// We should be able to successfully run the resulting command line from indexing info
864864
let success = try await Process.run(url: URL(fileURLWithPath: swiftCompilerPath.str), arguments: info.swift.commandLineAsByteStrings.map { $0.asString }).isSuccess
865865
#expect(success)
866866
} catch {

0 commit comments

Comments
 (0)