aboutsummaryrefslogtreecommitdiffstats
path: root/prog/mutation_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-12-17 13:09:15 +0100
committerDmitry Vyukov <dvyukov@google.com>2022-12-22 10:11:08 +0100
commit71d483814b0f74e465d40e0059c0d733f0017cad (patch)
treef797746ee6c449a77f314084663fc45a03b0f8ce /prog/mutation_test.go
parent4067838e6b16173af08e062ce434ecfc46d45bda (diff)
pkg/testutil: move iterCount from prog package
Diffstat (limited to 'prog/mutation_test.go')
-rw-r--r--prog/mutation_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/mutation_test.go b/prog/mutation_test.go
index 0c084d1fe..11e3a4933 100644
--- a/prog/mutation_test.go
+++ b/prog/mutation_test.go
@@ -416,7 +416,7 @@ func runMutationTests(t *testing.T, tests [][2]string, valid bool) {
t.Fatalf("failed to deserialize the program: %v", err)
}
want := goal.Serialize()
- iters := iterCount()
+ iters := testutil.IterCount()
if valid {
iters = 1e6 // it will stop after reaching the goal
}