From 918526e4ed7979cd317d8c71fb20487b4aca0da3 Mon Sep 17 00:00:00 2001 From: Bevan Arps Date: Tue, 3 Oct 2023 08:18:46 +1300 Subject: [PATCH] Fix test --- v2/internal/reflecthelpers/reflect_helpers_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/v2/internal/reflecthelpers/reflect_helpers_test.go b/v2/internal/reflecthelpers/reflect_helpers_test.go index 7fbe517f161..440f7688386 100644 --- a/v2/internal/reflecthelpers/reflect_helpers_test.go +++ b/v2/internal/reflecthelpers/reflect_helpers_test.go @@ -553,7 +553,6 @@ func Test_SetProperty_TargetingUnknownNestedProperty_ReturnsExpectedError(t *tes err := reflecthelpers.SetProperty(subject, "Owner.UnknownProperty", "newValue") g.Expect(err).To(HaveOccurred()) - g.Expect(err).To(MatchError(ContainSubstring("Ownerx"))) g.Expect(err).To(MatchError(ContainSubstring("Owner"))) g.Expect(err).To(MatchError(ContainSubstring("UnknownProperty"))) }