aboutsummaryrefslogtreecommitdiff
path: root/android/mutator_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/mutator_test.go')
-rw-r--r--android/mutator_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/mutator_test.go b/android/mutator_test.go
index f7ee7d857..cd4b68f0d 100644
--- a/android/mutator_test.go
+++ b/android/mutator_test.go
@@ -129,7 +129,7 @@ func TestFinalDepsPhase(t *testing.T) {
ctx.BottomUp("final", func(ctx BottomUpMutatorContext) {
counter, _ := finalGot.LoadOrStore(ctx.Module().String(), &atomic.Int64{})
counter.(*atomic.Int64).Add(1)
- ctx.VisitDirectDeps(func(mod Module) {
+ ctx.VisitDirectDepsProxy(func(mod ModuleProxy) {
counter, _ := finalGot.LoadOrStore(fmt.Sprintf("%s -> %s", ctx.Module().String(), mod), &atomic.Int64{})
counter.(*atomic.Int64).Add(1)
})