diff --git a/dice/dice_test.go b/dice/dice_test.go index 7d5347f..2eb7df3 100644 --- a/dice/dice_test.go +++ b/dice/dice_test.go @@ -20,9 +20,9 @@ func TestD(t *testing.T) { {"D100 is between 1 and 100", 100, 1}, } for _, test := range tests { - test := test t.Run(test.name, func(t *testing.T) { t.Parallel() + for range [1000]int{} { got := dice.D(test.upper) if !(got <= test.upper) || !(got >= test.lower) { diff --git a/dice/go.mod b/dice/go.mod index 9efe0a8..958b7eb 100644 --- a/dice/go.mod +++ b/dice/go.mod @@ -1,3 +1,3 @@ module github.com/philoserf/go/dice -go 1.21 +go 1.23.0