Actually test requirement parsing output (not just if it succeded)

This commit is contained in:
2025-07-06 17:01:19 +10:00
parent 058f9070ad
commit d850b9998d
3 changed files with 32 additions and 20 deletions

View File

@ -3,13 +3,13 @@
* SPDX-License-Identifier: Apache-2.0
*/
enum ApkVersionSpecification: Equatable, Hashable {
case any(invert: Bool)
case constraint(invert: Bool, op: Operator, version: String)
enum ApkVersionSpecification: Equatable, Hashable, Sendable {
case any(invert: Bool = false)
case constraint(invert: Bool = false, op: Operator, version: String)
}
extension ApkVersionSpecification {
enum Operator: Equatable {
enum Operator: Equatable, Sendable {
case equals
case fuzzyEquals
case greater