diff options
author | 2025-02-12 21:54:11 -0800 | |
---|---|---|
committer | 2025-02-12 21:54:11 -0800 | |
commit | 4a80748e09ff307c3052fbb36ac38880fd5d2340 (patch) | |
tree | 4d421d8fcaea1914cf782421676fbb0da48af277 /android/mutator_test.go | |
parent | c0a00df42e8f63caa3070c80a1e40db22bc574cc (diff) | |
parent | 90607e9056f6ff4cec2447fdd7a8b252d67ffde7 (diff) |
Merge "Don't panic in ModuleForTests and friends" into main
Diffstat (limited to 'android/mutator_test.go')
-rw-r--r-- | android/mutator_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/mutator_test.go b/android/mutator_test.go index 123c6b203..f7ee7d857 100644 --- a/android/mutator_test.go +++ b/android/mutator_test.go @@ -78,7 +78,7 @@ func TestMutatorAddMissingDependencies(t *testing.T) { FixtureWithRootAndroidBp(bp), ).RunTest(t) - foo := result.ModuleForTests("foo", "").Module().(*mutatorTestModule) + foo := result.ModuleForTests(t, "foo", "").Module().(*mutatorTestModule) AssertDeepEquals(t, "foo missing deps", []string{"added_missing_dep", "regular_missing_dep"}, foo.missingDeps) } |