From 78bcb10d1a9409b3d004c97fdefead969f76afe3 Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Thu, 21 Sep 2023 16:53:45 +0200 Subject: [PATCH] better snapshot testing --- Sources/Compound/Icons/CompoundIcon.swift | 1 - .../__Snapshots__/PreviewTests/test_compoundIcon.Form.png | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Sources/Compound/Icons/CompoundIcon.swift b/Sources/Compound/Icons/CompoundIcon.swift index 2a5c440..e81d25c 100644 --- a/Sources/Compound/Icons/CompoundIcon.swift +++ b/Sources/Compound/Icons/CompoundIcon.swift @@ -162,7 +162,6 @@ import Prefire struct CompoundIcon_Previews: PreviewProvider, PrefireProvider { static var previews: some View { form - .previewLayout(.fixed(width: 375, height: 400)) .previewDisplayName("Form") buttons .padding(8) diff --git a/Tests/CompoundTests/__Snapshots__/PreviewTests/test_compoundIcon.Form.png b/Tests/CompoundTests/__Snapshots__/PreviewTests/test_compoundIcon.Form.png index d0cfac9..db09144 100644 --- a/Tests/CompoundTests/__Snapshots__/PreviewTests/test_compoundIcon.Form.png +++ b/Tests/CompoundTests/__Snapshots__/PreviewTests/test_compoundIcon.Form.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2b5f80f4b2573fdc470d7a2dad53a67ac137829c8d3520943788c4a552d363c3 -size 14300 +oid sha256:0a50efc82d7971465a14056ae12821c3884764acb1759f71e1f6e0075d1e1086 +size 95871