summaryrefslogtreecommitdiff
path: root/android/singleton_module_test.go
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2022-02-10 23:34:28 +0000
committer Martin Stjernholm <mast@google.com> 2022-02-10 23:36:06 +0000
commit1ebef5b78c156098dc5ae30d547086187f24923e (patch)
treeefdfafd2b66472848b0d48bd914b9b27b36f6818 /android/singleton_module_test.go
parent26cb965d2f807cb8f1ff5c1204c0f43c428967e3 (diff)
Move functionality to test install rules into testing.go.
In preparation for test in the cc package. Test: m nothing Bug: 211770050 Change-Id: I3f6190e102c607a0b6246d78d7bde7fcffa21650
Diffstat (limited to 'android/singleton_module_test.go')
-rw-r--r--android/singleton_module_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/singleton_module_test.go b/android/singleton_module_test.go
index eb5554c01..9d98478e2 100644
--- a/android/singleton_module_test.go
+++ b/android/singleton_module_test.go
@@ -46,8 +46,8 @@ var prepareForSingletonModuleTest = GroupFixturePreparers(
PrepareForTestWithAndroidMk,
FixtureRegisterWithContext(func(ctx RegistrationContext) {
ctx.RegisterSingletonModuleType("test_singleton_module", testSingletonModuleFactory)
- ctx.RegisterSingletonType("makevars", makeVarsSingletonFunc)
}),
+ PrepareForTestWithMakevars,
)
func TestSingletonModule(t *testing.T) {