From 8f772fc79f1b350f40c15fce63d8f87d151c1740 Mon Sep 17 00:00:00 2001 From: Jeffrey Macko Date: Thu, 5 Sep 2024 01:50:24 +0200 Subject: [PATCH] fix: cleaning --- .../SnapshotTesting/Snapshotting/ImageSerializer.swift | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Sources/SnapshotTesting/Snapshotting/ImageSerializer.swift b/Sources/SnapshotTesting/Snapshotting/ImageSerializer.swift index f9c18deef..58dc7b871 100644 --- a/Sources/SnapshotTesting/Snapshotting/ImageSerializer.swift +++ b/Sources/SnapshotTesting/Snapshotting/ImageSerializer.swift @@ -30,13 +30,7 @@ private func DecodePNGImage(_ data: Data) -> SnapImage? { #endif -package protocol DefaultValueProvider { - associatedtype Value - - static var defaultValue: Value { get } -} - -public enum ImageFormat: String, DefaultValueProvider { +public enum ImageFormat: String { case jxl case png