Skip to content

Commit

Permalink
🤖 Fix releases test (#1344)
Browse files Browse the repository at this point in the history
Leftover broken tests for releases functions

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
  • Loading branch information
Itxaka committed Apr 24, 2023
1 parent a9d6b7e commit a1fe6bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/github/releases_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ var _ = Describe("Releases", func() {
releases, err := github.FindReleases(context.Background(), "", "kairos-io/kairos", false)
Expect(err).ToNot(HaveOccurred())
Expect(len(releases)).To(BeNumerically(">", 0))
// Expect the one at the bottom to be the first "real" release of kairos
Expect(releases[len(releases)-1].Original()).To(Equal("v1.0.0"))
// Expect the first one to be greater than the last one
Expect(releases[0].GreaterThan(releases[len(releases)-1]))
})
Expand Down

0 comments on commit a1fe6bb

Please sign in to comment.