summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2025-04-29 18:25:52 +0200
committerGitHub <noreply@github.com>2025-04-29 16:25:52 +0000
commit535594290662367fc33920f8f613859513ea857e (patch)
tree341a0f15432af106ed53506c2ede7e0c6716b491
parent5e8efbae0fef3a2944d2eb0e184543a505e325ca (diff)
downloadgit-bug-535594290662367fc33920f8f613859513ea857e.tar.gz
git-bug-535594290662367fc33920f8f613859513ea857e.zip
chore: gofmt simplify gitlab/export_test.go (#1392)
-rw-r--r--bridge/gitlab/export_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/bridge/gitlab/export_test.go b/bridge/gitlab/export_test.go
index 2f59f5ad..ccf0b701 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,