File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ func TestWorkerAssign(t *testing.T) {
4444
4545 pg := & testutils.FakePluginGetter {
4646 Plugins : map [string ]* testutils.FakeCompatPlugin {
47- "plugin-1" : & testutils. FakeCompatPlugin {
47+ "plugin-1" : {
4848 PluginName : "plugin-1" ,
4949 PluginAddr : & net.UnixAddr {},
5050 },
51- "plugin-2" : & testutils. FakeCompatPlugin {
51+ "plugin-2" : {
5252 PluginName : "plugin-2" ,
5353 PluginAddr : & net.UnixAddr {},
5454 },
@@ -270,7 +270,7 @@ func TestWorkerWait(t *testing.T) {
270270
271271 pg := & testutils.FakePluginGetter {
272272 Plugins : map [string ]* testutils.FakeCompatPlugin {
273- "plugin-1" : & testutils. FakeCompatPlugin {
273+ "plugin-1" : {
274274 PluginName : "plugin-1" ,
275275 PluginAddr : & net.UnixAddr {},
276276 },
@@ -418,11 +418,11 @@ func TestWorkerUpdate(t *testing.T) {
418418
419419 pg := & testutils.FakePluginGetter {
420420 Plugins : map [string ]* testutils.FakeCompatPlugin {
421- "plugin-1" : & testutils. FakeCompatPlugin {
421+ "plugin-1" : {
422422 PluginName : "plugin-1" ,
423423 PluginAddr : & net.UnixAddr {},
424424 },
425- "plugin-2" : & testutils. FakeCompatPlugin {
425+ "plugin-2" : {
426426 PluginName : "plugin-2" ,
427427 PluginAddr : & net.UnixAddr {},
428428 },
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ var _ = Describe("volumeSet", func() {
9797 // if the volume is the last one in the group, it should be removed.
9898 Expect (vs .byGroup ).To (SatisfyAll (
9999 HaveLen (1 ),
100- HaveKeyWithValue ("group" , map [string ]struct {}{v2 .ID : struct {} {}}),
100+ HaveKeyWithValue ("group" , map [string ]struct {}{v2 .ID : {}}),
101101 ))
102102 })
103103
You can’t perform that action at this time.
0 commit comments