22//
33// This source file is part of the Swift open source project
44//
5- // Copyright (c) 2020-2022 Apple Inc. and the Swift project authors
5+ // Copyright (c) 2020-2023 Apple Inc. and the Swift project authors
66// Licensed under Apache License v2.0 with Runtime Library Exception
77//
88// See http://swift.org/LICENSE.txt for license information
@@ -26,11 +26,11 @@ final class PackageCollectionsModelTests: XCTestCase {
2626 toolsVersion: toolsVersion, packageName: " FooBar " , targets: targets, products: products, minimumPlatformVersions: nil
2727 ) ]
2828 let versions : [ PackageCollectionsModel . Package . Version ] = [
29- . init( version: . init( stringLiteral: " 1.2.0 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
30- . init( version: . init( stringLiteral: " 2.0.1 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
31- . init( version: . init( stringLiteral: " 2.1.0-beta.3 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
32- . init( version: . init( stringLiteral: " 2.1.0 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
33- . init( version: . init( stringLiteral: " 3.0.0-beta.1 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
29+ . init( version: . init( stringLiteral: " 1.2.0 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
30+ . init( version: . init( stringLiteral: " 2.0.1 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
31+ . init( version: . init( stringLiteral: " 2.1.0-beta.3 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
32+ . init( version: . init( stringLiteral: " 2.1.0 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
33+ . init( version: . init( stringLiteral: " 3.0.0-beta.1 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
3434 ]
3535
3636 XCTAssertEqual ( " 2.1.0 " , versions. latestRelease? . version. description)
@@ -45,8 +45,8 @@ final class PackageCollectionsModelTests: XCTestCase {
4545 toolsVersion: toolsVersion, packageName: " FooBar " , targets: targets, products: products, minimumPlatformVersions: nil
4646 ) ]
4747 let versions : [ PackageCollectionsModel . Package . Version ] = [
48- . init( version: . init( stringLiteral: " 2.1.0-beta.3 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
49- . init( version: . init( stringLiteral: " 3.0.0-beta.1 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
48+ . init( version: . init( stringLiteral: " 2.1.0-beta.3 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
49+ . init( version: . init( stringLiteral: " 3.0.0-beta.1 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
5050 ]
5151
5252 XCTAssertNil ( versions. latestRelease)
@@ -61,9 +61,9 @@ final class PackageCollectionsModelTests: XCTestCase {
6161 toolsVersion: toolsVersion, packageName: " FooBar " , targets: targets, products: products, minimumPlatformVersions: nil
6262 ) ]
6363 let versions : [ PackageCollectionsModel . Package . Version ] = [
64- . init( version: . init( stringLiteral: " 1.2.0 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
65- . init( version: . init( stringLiteral: " 2.0.1 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
66- . init( version: . init( stringLiteral: " 2.1.0 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , createdAt: nil ) ,
64+ . init( version: . init( stringLiteral: " 1.2.0 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
65+ . init( version: . init( stringLiteral: " 2.0.1 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
66+ . init( version: . init( stringLiteral: " 2.1.0 " ) , title: nil , summary: nil , manifests: manifests, defaultToolsVersion: toolsVersion, verifiedCompatibility: nil , license: nil , author : nil , createdAt: nil ) ,
6767 ]
6868
6969 XCTAssertEqual ( " 2.1.0 " , versions. latestRelease? . version. description)
0 commit comments