@@ -23,11 +23,11 @@ final class PackageCollectionsModelTests: XCTestCase {
23
23
toolsVersion: toolsVersion, packageName: " FooBar " , targets: targets, products: products, minimumPlatformVersions: nil
24
24
) ]
25
25
let versions : [ PackageCollectionsModel . Package . Version ] = [
26
- . init( version: . init( stringLiteral: " 1.2.0 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
27
- . init( version: . init( stringLiteral: " 2.0.1 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
28
- . init( version: . init( stringLiteral: " 2.1.0-beta.3 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
29
- . init( version: . init( stringLiteral: " 2.1.0 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
30
- . init( version: . init( stringLiteral: " 3.0.0-beta.1 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
26
+ . init( version: . init( stringLiteral: " 1.2.0 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
27
+ . init( version: . init( stringLiteral: " 2.0.1 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
28
+ . init( version: . init( stringLiteral: " 2.1.0-beta.3 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
29
+ . init( version: . init( stringLiteral: " 2.1.0 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
30
+ . init( version: . init( stringLiteral: " 3.0.0-beta.1 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
31
31
]
32
32
33
33
XCTAssertEqual ( " 2.1.0 " , versions. latestRelease? . version. description)
@@ -42,8 +42,8 @@ final class PackageCollectionsModelTests: XCTestCase {
42
42
toolsVersion: toolsVersion, packageName: " FooBar " , targets: targets, products: products, minimumPlatformVersions: nil
43
43
) ]
44
44
let versions : [ PackageCollectionsModel . Package . Version ] = [
45
- . init( version: . init( stringLiteral: " 2.1.0-beta.3 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
46
- . init( version: . init( stringLiteral: " 3.0.0-beta.1 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
45
+ . init( version: . init( stringLiteral: " 2.1.0-beta.3 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
46
+ . init( version: . init( stringLiteral: " 3.0.0-beta.1 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
47
47
]
48
48
49
49
XCTAssertNil ( versions. latestRelease)
@@ -58,9 +58,9 @@ final class PackageCollectionsModelTests: XCTestCase {
58
58
toolsVersion: toolsVersion, packageName: " FooBar " , targets: targets, products: products, minimumPlatformVersions: nil
59
59
) ]
60
60
let versions : [ PackageCollectionsModel . Package . Version ] = [
61
- . init( version: . init( stringLiteral: " 1.2.0 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
62
- . init( version: . init( stringLiteral: " 2.0.1 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
63
- . init( version: . init( stringLiteral: " 2.1.0 " ) , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
61
+ . init( version: . init( stringLiteral: " 1.2.0 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
62
+ . init( version: . init( stringLiteral: " 2.0.1 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
63
+ . init( version: . init( stringLiteral: " 2.1.0 " ) , title : nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
64
64
]
65
65
66
66
XCTAssertEqual ( " 2.1.0 " , versions. latestRelease? . version. description)
0 commit comments