Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo2308 committed Apr 26, 2024
1 parent 808c615 commit 2610400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prune/prune_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ var _ = Describe("Prune", func() {
Describe("Unprunable", func() {
Describe("Error()", func() {
It("Should Return a String Representation of Unprunable", func() {
unpruneable := &Unprunable{
unpruneable := Unprunable{
Obj: &fakeObj,
Reason: "TestReason",
}
Expect(unpruneable).To(MatchError(fmt.Sprintf("unable to prune %s: %s", client.ObjectKeyFromObject(fakeObj), unpruneable.Reason)))
Expect(unpruneable.Error()).To(Equal(fmt.Sprintf("unable to prune %s: %s", client.ObjectKeyFromObject(fakeObj), unpruneable.Reason)))
})
})
})
Expand Down

0 comments on commit 2610400

Please sign in to comment.