aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/roulette_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/roulette_test.go')
-rw-r--r--internal/casino/roulette_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/casino/roulette_test.go b/internal/casino/roulette_test.go
index 160ff37..0a43677 100644
--- a/internal/casino/roulette_test.go
+++ b/internal/casino/roulette_test.go
@@ -174,8 +174,7 @@ func TestRouletteCombinationOrderIndependent(t *testing.T) {
}
return true
}
- var permute func([]string, func([]string))
- permute = func(items []string, visit func([]string)) {
+ permute := func(items []string, visit func([]string)) {
var rec func(int)
rec = func(i int) {
if i == len(items) {