Skip to content

Commit

Permalink
Restore missing @test directive in PIFLoadingUnitTests.loadingStandar…
Browse files Browse the repository at this point in the history
…dTarget()

The intent was to just remove the .require().

Also fix an error in the test.
  • Loading branch information
mhrawdon committed Feb 10, 2025
1 parent 0e763ce commit 713303e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/SWBCoreTests/PIFLoadingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,7 @@ private final class ProjectModelItemClass: ProjectModelItem {
}
}

@Test
func loadingStandardTarget() throws {
// These file ref classes are only used for their GUIDs in this test, but the other data may be useful if the model changes in the future.
let classOneFileRef: FileReference = try {
Expand Down Expand Up @@ -1383,7 +1384,7 @@ private final class ProjectModelItemClass: ProjectModelItem {
try #require(appTarget.buildPhases.count == 2)
try #require(frameworkTarget.buildPhases.count == 2)

let appSourcesBuildPhase = try #require(appTarget.buildPhases[0] as? FrameworksBuildPhase)
let appSourcesBuildPhase = try #require(appTarget.buildPhases[0] as? SourcesBuildPhase)
let appFrameworksBuildPhase = try #require(appTarget.buildPhases[1] as? FrameworksBuildPhase)
let frameworkSourcesBuildPhase = try #require(frameworkTarget.buildPhases[0] as? SourcesBuildPhase)
let frameworkFrameworksBuildPhase = try #require(frameworkTarget.buildPhases[1] as? FrameworksBuildPhase)
Expand Down

0 comments on commit 713303e

Please # to comment.