summaryrefslogtreecommitdiff
path: root/java/code_metadata_test.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-08-13 15:56:16 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-13 15:56:16 +0000
commit246b43049c88572de399648718f70a28d3b245ba (patch)
treed35bda386e8cc8f0e73cc9e3c883706c975dfe17 /java/code_metadata_test.go
parentf20696e112ee6d06a9327a2381bd21dc387a87d0 (diff)
parent663e4508dc4fe228696ede997d5fca24e4c1431e (diff)
Merge "Merge SingletonProviderContext with OtherModuleProviderContext" into main
Diffstat (limited to 'java/code_metadata_test.go')
-rw-r--r--java/code_metadata_test.go2
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",
) {