Skip to content

🎧 Your Personal Streaming Service

Remove duplicated test

Deluan2c8c87a980ec
diff --git a/utils/number/number_test.go b/utils/number/number_test.go
index a92f46fe8..dd6614871 100644
--- a/utils/number/number_test.go
+++ b/utils/number/number_test.go
@@ -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"
)
@@ -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)))