#100
in order to keeo track on tohse notes I'm adding them here:
|
Expect(err).ToNot(HaveOccurred()) |
- Maybe we can keep the failure message, here and and in the rest of the
Expects. something like :
Expect(err).ToNot(HaveOccurred(), "failed to apply the new vm object")
|
Expect(strings.Contains(err.Error(), "failed to allocate requested mac address")).To(Equal(true)) |
- maybe check that err is not nil, before checking that the error is as expected?
Expect(err).To(HaveOccurred())
Expect(strings.Contains(err.Error(), "failed to allocate requested mac address")).To(Equal(true))