Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix lint issues
  • Loading branch information
Neo2308 committed Apr 26, 2024
commit 26104002b1f33beaa3f715eaaf065e1a40cc8e43
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