summaryrefslogtreecommitdiff
path: root/android/arch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/arch_test.go')
-rw-r--r--android/arch_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/arch_test.go b/android/arch_test.go
index 52a66847e..b41e1ab95 100644
--- a/android/arch_test.go
+++ b/android/arch_test.go
@@ -338,7 +338,7 @@ func TestArchMutator(t *testing.T) {
for _, tt := range testCases {
t.Run(tt.name, func(t *testing.T) {
ctx := NewTestArchContext()
- ctx.RegisterModuleType("module", ModuleFactoryAdaptor(archTestModuleFactory))
+ ctx.RegisterModuleType("module", archTestModuleFactory)
ctx.MockFileSystem(mockFS)
ctx.Register()
config := TestArchConfig(buildDir, nil)