mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-01 19:47:37 +03:00
Remove duplicated test
This commit is contained in:
parent
3463d0c208
commit
2c8c87a980
1 changed files with 0 additions and 9 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue