File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2522,7 +2522,7 @@ var _ = Describe("Fake client", func() {
25222522 obj .SetAPIVersion ("v1" )
25232523 obj .SetKind ("ConfigMap" )
25242524 obj .SetName ("foo" )
2525- unstructured .SetNestedField (obj .Object , map [string ]any {"some" : "data" }, "data" )
2525+ Expect ( unstructured .SetNestedField (obj .Object , map [string ]any {"some" : "data" }, "data" )). To ( Succeed () )
25262526
25272527 Expect (cl .Patch (context .Background (), obj , client .Apply )).To (Succeed ())
25282528
@@ -2531,7 +2531,7 @@ var _ = Describe("Fake client", func() {
25312531 Expect (cl .Get (context .Background (), client .ObjectKeyFromObject (cm ), cm )).To (Succeed ())
25322532 Expect (cm .Data ).To (Equal (map [string ]string {"some" : "data" }))
25332533
2534- unstructured .SetNestedField (obj .Object , map [string ]any {"other" : "data" }, "data" )
2534+ Expect ( unstructured .SetNestedField (obj .Object , map [string ]any {"other" : "data" }, "data" )). To ( Succeed () )
25352535 Expect (cl .Patch (context .Background (), obj , client .Apply )).To (Succeed ())
25362536
25372537 Expect (cl .Get (context .Background (), client .ObjectKeyFromObject (cm ), cm )).To (Succeed ())
You can’t perform that action at this time.
0 commit comments