diff options
author | 2021-03-22 09:29:00 +0000 | |
---|---|---|
committer | 2021-03-22 22:09:53 +0000 | |
commit | 31a228846b944f4de74ef4f0d46640088e0c4699 (patch) | |
tree | 3b6325cca71f86d4213ab33fc4f0e00551ca2e1b /android/namespace_test.go | |
parent | 4a1d451405b427e1001f4f7630d126b23f94d76a (diff) |
Extract functionality common to TestingModule/Singleton
Bug: 182885307
Test: m nothing
Change-Id: Ib7c96b34512ad2a190a24c9dd07ea259d1378b44
Diffstat (limited to 'android/namespace_test.go')
-rw-r--r-- | android/namespace_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/namespace_test.go b/android/namespace_test.go index dea287d84..604b3567e 100644 --- a/android/namespace_test.go +++ b/android/namespace_test.go @@ -697,7 +697,7 @@ func findModuleById(ctx *TestContext, id string) (module TestingModule) { testModule, ok := candidate.(*testModule) if ok { if testModule.properties.Id == id { - module = TestingModule{testModule} + module = newTestingModule(testModule) } } } |