File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ func TestWorkerAssign(t *testing.T) {
44
44
45
45
pg := & testutils.FakePluginGetter {
46
46
Plugins : map [string ]* testutils.FakeCompatPlugin {
47
- "plugin-1" : & testutils. FakeCompatPlugin {
47
+ "plugin-1" : {
48
48
PluginName : "plugin-1" ,
49
49
PluginAddr : & net.UnixAddr {},
50
50
},
51
- "plugin-2" : & testutils. FakeCompatPlugin {
51
+ "plugin-2" : {
52
52
PluginName : "plugin-2" ,
53
53
PluginAddr : & net.UnixAddr {},
54
54
},
@@ -270,7 +270,7 @@ func TestWorkerWait(t *testing.T) {
270
270
271
271
pg := & testutils.FakePluginGetter {
272
272
Plugins : map [string ]* testutils.FakeCompatPlugin {
273
- "plugin-1" : & testutils. FakeCompatPlugin {
273
+ "plugin-1" : {
274
274
PluginName : "plugin-1" ,
275
275
PluginAddr : & net.UnixAddr {},
276
276
},
@@ -418,11 +418,11 @@ func TestWorkerUpdate(t *testing.T) {
418
418
419
419
pg := & testutils.FakePluginGetter {
420
420
Plugins : map [string ]* testutils.FakeCompatPlugin {
421
- "plugin-1" : & testutils. FakeCompatPlugin {
421
+ "plugin-1" : {
422
422
PluginName : "plugin-1" ,
423
423
PluginAddr : & net.UnixAddr {},
424
424
},
425
- "plugin-2" : & testutils. FakeCompatPlugin {
425
+ "plugin-2" : {
426
426
PluginName : "plugin-2" ,
427
427
PluginAddr : & net.UnixAddr {},
428
428
},
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ var _ = Describe("volumeSet", func() {
97
97
// if the volume is the last one in the group, it should be removed.
98
98
Expect (vs .byGroup ).To (SatisfyAll (
99
99
HaveLen (1 ),
100
- HaveKeyWithValue ("group" , map [string ]struct {}{v2 .ID : struct {} {}}),
100
+ HaveKeyWithValue ("group" , map [string ]struct {}{v2 .ID : {}}),
101
101
))
102
102
})
103
103
You can’t perform that action at this time.
0 commit comments