Skip to content

Commit

Permalink
[NFC] remove outdated test function
Browse files Browse the repository at this point in the history
`VersionTests.testBasics` has been replaced by much more thorough test cases in the same file.
  • Loading branch information
WowbaggersLiquidLunch committed Jun 12, 2021
1 parent 3a7034a commit 30c8fd7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Tests/PackageDescriptionTests/VersionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ import PackageDescription
import XCTest

class VersionTests: XCTestCase {

func testBasics() {
let v1: Version = "1.0.0"
let v2 = Version(2, 3, 4, prereleaseIdentifiers: ["alpha", "beta"], buildMetadataIdentifiers: ["232"])
XCTAssert(v2 > v1)
XCTAssertFalse(v2 == v1)
XCTAssert("1.0.0" == v1)
XCTAssertLessThan(Version("1.2.3-alpha.beta.2"), Version("1.2.3-alpha.beta.3"))

XCTAssertEqual(Version("1.2.3-alpha.beta.2").description, "1.2.3-alpha.beta.2")
}

func testVersionInitialization() {
let v0 = Version(0, 0, 0, prereleaseIdentifiers: [], buildMetadataIdentifiers: [])
Expand Down

0 comments on commit 30c8fd7

Please sign in to comment.