diff options
| author | 2024-01-10 00:16:52 +0000 | |
|---|---|---|
| committer | 2024-01-10 00:16:52 +0000 | |
| commit | ec3887ad2f2265e3edfe748aa7cd562f324e138d (patch) | |
| tree | 2571ff27d9d6aa1f04d4b2d23c2a7f84e0b858bb /java/hiddenapi_singleton_test.go | |
| parent | b087a045831c97e14b9738b4c3885c0bf28d10f1 (diff) | |
| parent | 59a4a2b8d210e74e6625794f954bd11bb6157002 (diff) | |
Merge "Replace panic with ModuleErrorf" into main
Diffstat (limited to 'java/hiddenapi_singleton_test.go')
| -rw-r--r-- | java/hiddenapi_singleton_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/hiddenapi_singleton_test.go b/java/hiddenapi_singleton_test.go index ef792f970..37afe297c 100644 --- a/java/hiddenapi_singleton_test.go +++ b/java/hiddenapi_singleton_test.go @@ -309,7 +309,8 @@ func TestHiddenAPIEncoding_JavaSdkLibrary(t *testing.T) { android.AssertStringEquals(t, "encode embedded java_library", unencodedDexJar, actualUnencodedDexJar.String()) // Make sure that the encoded dex jar is the exported one. - exportedDexJar := moduleForTests.Module().(UsesLibraryDependency).DexJarBuildPath().Path() + errCtx := moduleErrorfTestCtx{} + exportedDexJar := moduleForTests.Module().(UsesLibraryDependency).DexJarBuildPath(errCtx).Path() android.AssertPathRelativeToTopEquals(t, "encode embedded java_library", encodedDexJar, exportedDexJar) } |