Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Commit 024fde1

Browse files
fortmarekclaude
andcommitted
fix: remove stale foreignBuild references from TargetDependencyTests
The foreignBuild case was removed from TargetDependency (it moved to the Target model), but the test file still referenced it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2c1483c commit 024fde1

1 file changed

Lines changed: 0 additions & 31 deletions

File tree

Tests/XcodeGraphTests/Models/TargetDependencyTests.swift

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,6 @@ final class TargetDependencyTests: XCTestCase {
3636
XCTAssertCodable(subject)
3737
}
3838

39-
func test_codable_foreignBuild() {
40-
// Given
41-
let subject = TargetDependency.foreignBuild(
42-
name: "SharedKMP",
43-
script: "./gradlew build",
44-
inputs: [
45-
.file(try! AbsolutePath(validating: "/path/to/input.kt")),
46-
.folder(try! AbsolutePath(validating: "/path/to/src")),
47-
.glob("**/*.kt"),
48-
.script("git rev-parse HEAD"),
49-
],
50-
output: .xcframework(
51-
path: try! AbsolutePath(validating: "/path/to/output.xcframework"),
52-
linking: .dynamic
53-
)
54-
)
55-
56-
// Then
57-
XCTAssertCodable(subject)
58-
}
59-
6039
func test_filtering() {
6140
let expected: PlatformCondition? = .when([.macos])
6241

@@ -78,16 +57,6 @@ final class TargetDependencyTests: XCTestCase {
7857
condition: expected
7958
),
8059
.project(target: "", path: try! AbsolutePath(validating: "/"), condition: expected),
81-
.foreignBuild(
82-
name: "KMP",
83-
script: "./build.sh",
84-
inputs: [.file(try! AbsolutePath(validating: "/input.kt"))],
85-
output: .xcframework(
86-
path: try! AbsolutePath(validating: "/output.xcframework"),
87-
linking: .dynamic
88-
),
89-
condition: expected
90-
),
9160
]
9261

9362
for subject in subjects {

0 commit comments

Comments
 (0)