Skip to content

Commit d6de37a

Browse files
committed
Fixing expected output for Xcode 16.2
1 parent 18e09d0 commit d6de37a

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

Tests/IntegrationTests/ReferencePackageTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class ReferencePackageTests: XCTestCase {
2121
let newReferencePackageDirectory = referencePackagesRoot.appending(path: "UpdatedPackage")
2222

2323
if
24-
FileManager.default.fileExists(atPath: oldReferencePackageDirectory.appending(path: XcodeTools.Constants.derivedDataPath).path()),
25-
FileManager.default.fileExists(atPath: newReferencePackageDirectory.appending(path: XcodeTools.Constants.derivedDataPath).path()) {
24+
FileManager.default.fileExists(atPath: oldReferencePackageDirectory.appending(path: XcodeTools.Constants.buildDirPath).path()),
25+
FileManager.default.fileExists(atPath: newReferencePackageDirectory.appending(path: XcodeTools.Constants.buildDirPath).path()) {
2626
return // Nothing to build
2727
}
2828

Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-private.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ⚠️ 57 public changes detected ⚠️
1+
# ⚠️ 60 public changes detected ⚠️
22
_Comparing `new_private` to `old_private`_
3-
<table><tr><td>❇️</td><td><b>31 Additions</b></td></tr><tr><td>🔀</td><td><b>22 Modifications</b></td></tr><tr><td>❌</td><td><b>4 Removals</b></td></tr></table>
3+
<table><tr><td>❇️</td><td><b>34 Additions</b></td></tr><tr><td>🔀</td><td><b>22 Modifications</b></td></tr><tr><td>❌</td><td><b>4 Removals</b></td></tr></table>
44

55
---
66
## `ReferencePackage`
@@ -33,6 +33,12 @@ public enum RawValueEnum: Swift.Equatable, Swift.Hashable, Swift.RawRepresentabl
3333
}
3434
```
3535
```swift
36+
public protocol ParentProtocol {
37+
associatedtype Iterator: Swift.Collection
38+
associatedtype ParentType: Swift.Equatable where Self.ParentType == Self.Iterator.Element
39+
}
40+
```
41+
```swift
3642
public protocol ParentProtocol<ParentType> {
3743
associatedtype Iterator: Swift.Collection
3844
associatedtype ParentType: Swift.Equatable where Self.ParentType == Self.Iterator.Element
@@ -297,6 +303,12 @@ public enum PublicEnumInExtensionOfCustomEnumThatIsOnlyAvailableInTheReferencePa
297303
associatedtype AnotherAssociatedType: Swift.Strideable
298304
```
299305
```swift
306+
associatedtype AnotherAssociatedType: Swift.Strideable
307+
```
308+
```swift
309+
associatedtype CustomAssociatedType: Swift.Equatable
310+
```
311+
```swift
300312
associatedtype CustomAssociatedType: Swift.Equatable
301313
```
302314
#### 🔀 Modified

Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-public.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ⚠️ 48 public changes detected ⚠️
1+
# ⚠️ 51 public changes detected ⚠️
22
_Comparing `new_public` to `old_public`_
3-
<table><tr><td>❇️</td><td><b>28 Additions</b></td></tr><tr><td>🔀</td><td><b>16 Modifications</b></td></tr><tr><td>❌</td><td><b>4 Removals</b></td></tr></table>
3+
<table><tr><td>❇️</td><td><b>31 Additions</b></td></tr><tr><td>🔀</td><td><b>16 Modifications</b></td></tr><tr><td>❌</td><td><b>4 Removals</b></td></tr></table>
44

55
---
66
## `ReferencePackage`
@@ -33,6 +33,12 @@ public enum RawValueEnum: Swift.Equatable, Swift.Hashable, Swift.RawRepresentabl
3333
}
3434
```
3535
```swift
36+
public protocol ParentProtocol {
37+
associatedtype Iterator: Swift.Collection
38+
associatedtype ParentType: Swift.Equatable where Self.ParentType == Self.Iterator.Element
39+
}
40+
```
41+
```swift
3642
public protocol ParentProtocol<ParentType> {
3743
associatedtype Iterator: Swift.Collection
3844
associatedtype ParentType: Swift.Equatable where Self.ParentType == Self.Iterator.Element
@@ -282,6 +288,12 @@ public enum PublicEnumInExtensionOfCustomEnumThatIsOnlyAvailableInTheReferencePa
282288
associatedtype AnotherAssociatedType: Swift.Strideable
283289
```
284290
```swift
291+
associatedtype AnotherAssociatedType: Swift.Strideable
292+
```
293+
```swift
294+
associatedtype CustomAssociatedType: Swift.Equatable
295+
```
296+
```swift
285297
associatedtype CustomAssociatedType: Swift.Equatable
286298
```
287299
#### 🔀 Modified

0 commit comments

Comments
 (0)