From df58e21e4a8fa4fa308ec1b791867968972f57f3 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 10 Sep 2023 21:24:15 +0700 Subject: lib/git: realign struct in TestListTag This reduce the struct in test case from 48 to 40 bytes (-8 bytes). --- lib/git/git_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git') diff --git a/lib/git/git_test.go b/lib/git/git_test.go index d661df22..416a520b 100644 --- a/lib/git/git_test.go +++ b/lib/git/git_test.go @@ -271,8 +271,8 @@ func TestLatestVersion(t *testing.T) { func TestListTag(t *testing.T) { cases := []struct { desc string - exp []string expErr string + exp []string }{{ desc: "With default repo", exp: []string{"v0.1.0", "v0.2.0"}, -- cgit v1.3-6-g1900