diff options
Diffstat (limited to 'java/test_spec_test.go')
-rw-r--r-- | java/test_spec_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test_spec_test.go b/java/test_spec_test.go index 4144dad69..f0a5fdb4b 100644 --- a/java/test_spec_test.go +++ b/java/test_spec_test.go @@ -32,7 +32,7 @@ func TestTestSpec(t *testing.T) { module := result.ModuleForTests("module-name", "") // Check that the provider has the right contents - data, _ := android.SingletonModuleProvider(result, module.Module(), soongTesting.TestSpecProviderKey) + data, _ := android.OtherModuleProvider(result, module.Module(), soongTesting.TestSpecProviderKey) if !strings.HasSuffix( data.IntermediatePath.String(), "/intermediateTestSpecMetadata.pb", ) { |