Skip to content

Commit

Permalink
Remove duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed May 12, 2024
1 parent 3463d0c commit 2c8c87a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions utils/number/number_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"testing"

"github.com/navidrome/navidrome/utils/number"
"github.com/navidrome/navidrome/utils/random"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
Expand All @@ -15,14 +14,6 @@ func TestNumber(t *testing.T) {
}

var _ = Describe("number package", func() {
Describe("RandomInt64", func() {
It("should return a random int64", func() {
for i := 0; i < 10000; i++ {
Expect(random.Int64(100)).To(BeNumerically("<", 100))
}
})
})

Describe("ParseInt", func() {
It("should parse a string into an int", func() {
Expect(number.ParseInt[int64]("123")).To(Equal(int64(123)))
Expand Down

0 comments on commit 2c8c87a

Please sign in to comment.