From 535594290662367fc33920f8f613859513ea857e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Tue, 29 Apr 2025 18:25:52 +0200 Subject: [PATCH] chore: gofmt simplify gitlab/export_test.go (#1392) --- bridge/gitlab/export_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bridge/gitlab/export_test.go b/bridge/gitlab/export_test.go index 2f59f5ad3739ec16cebdd5cf86ea6607abc23b1f..ccf0b701c6711db88458d8acacbb11bcddc0561f 100644 --- a/bridge/gitlab/export_test.go +++ b/bridge/gitlab/export_test.go @@ -92,42 +92,42 @@ func testCases(t *testing.T, repo *cache.RepoCache) []*testCase { require.NoError(t, err) return []*testCase{ - &testCase{ + { name: "simple bug", bug: simpleBug, numOp: 1, numOpExp: 2, numOpImp: 1, }, - &testCase{ + { name: "bug with comments", bug: bugWithComments, numOp: 2, numOpExp: 4, numOpImp: 2, }, - &testCase{ + { name: "bug label change", bug: bugLabelChange, numOp: 4, numOpExp: 8, numOpImp: 4, }, - &testCase{ + { name: "bug with comment editions", bug: bugWithCommentEditions, numOp: 4, numOpExp: 8, numOpImp: 2, }, - &testCase{ + { name: "bug changed status", bug: bugStatusChanged, numOp: 3, numOpExp: 6, numOpImp: 3, }, - &testCase{ + { name: "bug title edited", bug: bugTitleEdited, numOp: 2,