@@ -86,7 +86,7 @@ func TestGetCommits(t *testing.T) {
86
86
Name : "better typing for rebase mode" ,
87
87
Status : models .StatusUnpushed ,
88
88
Action : models .ActionNone ,
89
- Tags : [] string {} ,
89
+ Tags : nil ,
90
90
ExtraInfo : "(HEAD -> better-tests)" ,
91
91
AuthorName : "Jesse Duffield" ,
92
92
@@ -100,7 +100,7 @@ func TestGetCommits(t *testing.T) {
100
100
Name : "fix logging" ,
101
101
Status : models .StatusPushed ,
102
102
Action : models .ActionNone ,
103
- Tags : [] string {} ,
103
+ Tags : nil ,
104
104
ExtraInfo : "(origin/better-tests)" ,
105
105
AuthorName : "Jesse Duffield" ,
106
106
@@ -128,7 +128,7 @@ func TestGetCommits(t *testing.T) {
128
128
Name : "WIP" ,
129
129
Status : models .StatusPushed ,
130
130
Action : models .ActionNone ,
131
- Tags : [] string {} ,
131
+ Tags : nil ,
132
132
ExtraInfo : "" ,
133
133
AuthorName : "Jesse Duffield" ,
134
134
@@ -142,7 +142,7 @@ func TestGetCommits(t *testing.T) {
142
142
Name : "WIP" ,
143
143
Status : models .StatusPushed ,
144
144
Action : models .ActionNone ,
145
- Tags : [] string {} ,
145
+ Tags : nil ,
146
146
ExtraInfo : "" ,
147
147
AuthorName : "Jesse Duffield" ,
148
148
@@ -156,7 +156,7 @@ func TestGetCommits(t *testing.T) {
156
156
Name : "WIP" ,
157
157
Status : models .StatusMerged ,
158
158
Action : models .ActionNone ,
159
- Tags : [] string {} ,
159
+ Tags : nil ,
160
160
ExtraInfo : "" ,
161
161
AuthorName : "Jesse Duffield" ,
162
162
@@ -170,7 +170,7 @@ func TestGetCommits(t *testing.T) {
170
170
Name : "WIP" ,
171
171
Status : models .StatusMerged ,
172
172
Action : models .ActionNone ,
173
- Tags : [] string {} ,
173
+ Tags : nil ,
174
174
ExtraInfo : "" ,
175
175
AuthorName : "Jesse Duffield" ,
176
176
@@ -184,7 +184,7 @@ func TestGetCommits(t *testing.T) {
184
184
Name : "refactoring the config struct" ,
185
185
Status : models .StatusMerged ,
186
186
Action : models .ActionNone ,
187
- Tags : [] string {} ,
187
+ Tags : nil ,
188
188
ExtraInfo : "" ,
189
189
AuthorName : "Jesse Duffield" ,
190
190
@@ -220,7 +220,7 @@ func TestGetCommits(t *testing.T) {
220
220
Name : "better typing for rebase mode" ,
221
221
Status : models .StatusUnpushed ,
222
222
Action : models .ActionNone ,
223
- Tags : [] string {} ,
223
+ Tags : nil ,
224
224
ExtraInfo : "(HEAD -> better-tests)" ,
225
225
AuthorName : "Jesse Duffield" ,
226
226
@@ -258,7 +258,7 @@ func TestGetCommits(t *testing.T) {
258
258
Name : "better typing for rebase mode" ,
259
259
Status : models .StatusUnpushed ,
260
260
Action : models .ActionNone ,
261
- Tags : [] string {} ,
261
+ Tags : nil ,
262
262
ExtraInfo : "(HEAD -> better-tests)" ,
263
263
AuthorName : "Jesse Duffield" ,
264
264
0 commit comments