diff options
Diffstat (limited to 'android/sh_binary_test.go')
-rw-r--r-- | android/sh_binary_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/sh_binary_test.go b/android/sh_binary_test.go index 9df769ca2..a13875414 100644 --- a/android/sh_binary_test.go +++ b/android/sh_binary_test.go @@ -9,8 +9,8 @@ func testShBinary(t *testing.T, bp string) (*TestContext, Config) { config := TestArchConfig(buildDir, nil) ctx := NewTestArchContext() - ctx.RegisterModuleType("sh_test", ModuleFactoryAdaptor(ShTestFactory)) - ctx.RegisterModuleType("sh_test_host", ModuleFactoryAdaptor(ShTestHostFactory)) + ctx.RegisterModuleType("sh_test", ShTestFactory) + ctx.RegisterModuleType("sh_test_host", ShTestHostFactory) ctx.Register() mockFiles := map[string][]byte{ "Android.bp": []byte(bp), |