Skip to content

Commit

Permalink
remove redundunt Equatable OSV
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Mar 8, 2024
1 parent baae49f commit 28028df
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Tests/IPSWDownloadsTests/OperatingSystemVersionTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@
@testable import IPSWDownloads
import XCTest

extension OperatingSystemVersion: Equatable {
public static func == (lhs: OperatingSystemVersion, rhs: OperatingSystemVersion) -> Bool {
lhs.majorVersion == rhs.majorVersion &&
lhs.minorVersion == rhs.minorVersion &&
lhs.patchVersion == rhs.patchVersion
}

extension OperatingSystemVersion {
static func random() -> OperatingSystemVersion {
.init(
majorVersion: .random(in: 1 ... 25),
Expand Down

0 comments on commit 28028df

Please sign in to comment.