We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad3d958 commit 0d7b2c2Copy full SHA for 0d7b2c2
source/wrappers/multisource_test.go
@@ -65,13 +65,13 @@ func testMultiSourceEndpoints(t *testing.T) {
65
},
66
{
67
"single non-empty child source returns child's endpoints",
68
- [][]*endpoint.Endpoint{{foo}},
69
- []*endpoint.Endpoint{foo},
+ [][]*endpoint.Endpoint{{foo.DeepCopy()}},
+ []*endpoint.Endpoint{foo.DeepCopy()},
70
71
72
"multiple non-empty child sources returns merged children's endpoints",
73
- [][]*endpoint.Endpoint{{foo}, {bar}},
74
- []*endpoint.Endpoint{foo, bar},
+ [][]*endpoint.Endpoint{{foo.DeepCopy()}, {bar.DeepCopy()}},
+ []*endpoint.Endpoint{foo.DeepCopy(), bar.DeepCopy()},
75
76
} {
77
0 commit comments