Fix an EnvVar map equivalence test
@@ -21,6 +21,7 @@ package util
import (
"fmt"
"os"
+ "reflect"
. "github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/extensions/table"
@@ -175,7 +176,7 @@ var _ = Describe("Operator Config", func() {
{Name: key2, Value: val2},
}
- Expect(*envObjects).To(BeEquivalentTo(expected))
+ Expect(reflect.DeepEqual(*envObjects, expected)).To(BeTrue())
})
})
