aboutsummaryrefslogtreecommitdiffstats
path: root/prog/rand_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/rand_test.go')
-rw-r--r--prog/rand_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/rand_test.go b/prog/rand_test.go
index 00613d42a..53b8ea338 100644
--- a/prog/rand_test.go
+++ b/prog/rand_test.go
@@ -73,7 +73,7 @@ func generateProg(t *testing.T, target *Target, rs rand.Source, ct *ChoiceTable,
})
}
for _, crash := range []bool{false, true} {
- p, _ = Minimize(p, -1, crash, func(*Prog, int) bool {
+ p, _ = Minimize(p, -1, MinimizeParams{Light: crash}, func(*Prog, int) bool {
return rs.Int63()%10 == 0
})
}