Skip to content

Commit

Permalink
remove new package dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelocantos committed Oct 27, 2023
1 parent bbfbb56 commit 8a5cec6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions intset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package frozen_test
import (
"math"
"math/rand"
"slices"
"sort"
"testing"

. "github.com/arr-ai/frozen"
Expand Down Expand Up @@ -91,8 +91,8 @@ func TestIntSetIterLarge(t *testing.T) {
_, set2 := generateIntArrayAndSet(hugeCollectionSize())
test.True(t, set.EqualSet(set2), "%+v\n%+v", set, set2)
distinct := getDistinctInts(arr)
slices.Sort(distinct)
slices.Sort(container)
sort.Slice(distinct, func(i, j int) bool { return distinct[i] < distinct[j] })
sort.Slice(container, func(i, j int) bool { return container[i] < container[j] })
test.Equal(t, distinct, container)
}

Expand Down

0 comments on commit 8a5cec6

Please sign in to comment.