From 06418225b063cc3a2b60ef8ec2baa768b9506451 Mon Sep 17 00:00:00 2001 From: Mark Ayers Date: Mon, 19 Aug 2024 12:20:18 -0400 Subject: [PATCH] fixup --- dice/dice_test.go | 2 +- dice/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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