From 31a228846b944f4de74ef4f0d46640088e0c4699 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 22 Mar 2021 09:29:00 +0000 Subject: Extract functionality common to TestingModule/Singleton Bug: 182885307 Test: m nothing Change-Id: Ib7c96b34512ad2a190a24c9dd07ea259d1378b44 --- android/namespace_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'android/namespace_test.go') 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) } } } -- cgit v1.2.3-59-g8ed1b