diff options
Diffstat (limited to 'java/code_metadata_test.go')
-rw-r--r-- | java/code_metadata_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/code_metadata_test.go b/java/code_metadata_test.go index 99b1f5226..9dc9a2262 100644 --- a/java/code_metadata_test.go +++ b/java/code_metadata_test.go @@ -29,7 +29,7 @@ func TestCodeMetadata(t *testing.T) { module := result.ModuleForTests("module-name", "") // Check that the provider has the right contents - data, _ := android.SingletonModuleProvider(result, module.Module(), soongTesting.CodeMetadataProviderKey) + data, _ := android.OtherModuleProvider(result, module.Module(), soongTesting.CodeMetadataProviderKey) if !strings.HasSuffix( data.IntermediatePath.String(), "/intermediateCodeMetadata.pb", ) { |