Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
chetan-rns committed Sep 18, 2023
1 parent c6a7272 commit 51acc59
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ var _ = Describe("ApplicationEventLoop Test", func() {
)
It("should return an empty resourceStatus if the input slice is empty", func() {
resourcesStatus := extractResourceStatus([]fauxargocd.ResourceStatus{})
Expect(resourcesStatus).To(HaveLen(0))
Expect(resourcesStatus).To(BeEmpty())
})

It("should convert the input faux ResourceStatus to GitOpsDeployment ResourceStatus", func() {
Expand Down Expand Up @@ -1105,7 +1105,7 @@ var _ = Describe("ApplicationEventLoop Test", func() {
}

opState, err := extractOperationState(&inputState)
Expect(err).To(BeNil())
Expect(err).ToNot(HaveOccurred())
Expect(*opState).To(Equal(expectedState))
})
})
Expand Down

0 comments on commit 51acc59

Please sign in to comment.