From 3a6c85148a7e594fe44370f382d2c009936e2df7 Mon Sep 17 00:00:00 2001 From: Vetle Leinonen-Roeim Date: Sun, 30 Mar 2025 17:08:46 +0200 Subject: [PATCH] update test for TrimEdges function to use an 8x8 single color image --- transform_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transform_test.go b/transform_test.go index 2c0625e..6dcb01e 100644 --- a/transform_test.go +++ b/transform_test.go @@ -396,8 +396,8 @@ func TestTrimBordersOfSameColor(t *testing.T) { } func TestTrimEdgesSingleColorImage(t *testing.T) { - // Create a 4x4 image filled with a single color (white) - src := newImage(4, 4, color.NRGBA{255, 255, 255, 255}) + // Create an 8x8 image filled with a single color (white) + src := newImage(8, 8, color.NRGBA{255, 255, 255, 255}) // The expected result should be the same as the source image want := src