From eb820e1ab79fd8af870b85bcd6a6550648bce9db Mon Sep 17 00:00:00 2001 From: David Christofas Date: Tue, 24 Mar 2020 11:05:08 +0100 Subject: [PATCH] add comment to test structure --- pkg/thumbnails/resolution/resolutions_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/thumbnails/resolution/resolutions_test.go b/pkg/thumbnails/resolution/resolutions_test.go index 4ec67c43dc..cb54e096cf 100644 --- a/pkg/thumbnails/resolution/resolutions_test.go +++ b/pkg/thumbnails/resolution/resolutions_test.go @@ -85,6 +85,7 @@ func TestClosestMatchWithEmptyResolutions(t *testing.T) { func TestClosestMatch(t *testing.T) { rs, _ := Init([]string{"16x16", "24x24", "32x32", "64x64", "128x128"}) table := [][]int{ + // width, height, expectedWidth, expectedHeight []int{17, 17, 24, 24}, []int{12, 17, 24, 24}, []int{24, 24, 24, 24},