summaryrefslogtreecommitdiff
path: root/apex/bootclasspath_fragment_test.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-01-10 00:16:52 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-01-10 00:16:52 +0000
commitec3887ad2f2265e3edfe748aa7cd562f324e138d (patch)
tree2571ff27d9d6aa1f04d4b2d23c2a7f84e0b858bb /apex/bootclasspath_fragment_test.go
parentb087a045831c97e14b9738b4c3885c0bf28d10f1 (diff)
parent59a4a2b8d210e74e6625794f954bd11bb6157002 (diff)
Merge "Replace panic with ModuleErrorf" into main
Diffstat (limited to 'apex/bootclasspath_fragment_test.go')
-rw-r--r--apex/bootclasspath_fragment_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/bootclasspath_fragment_test.go b/apex/bootclasspath_fragment_test.go
index 159e9e1c4..2600169a5 100644
--- a/apex/bootclasspath_fragment_test.go
+++ b/apex/bootclasspath_fragment_test.go
@@ -677,7 +677,7 @@ func TestBootclasspathFragmentContentsNoName(t *testing.T) {
func getDexJarPath(result *android.TestResult, name string) string {
module := result.Module(name, "android_common")
- return module.(java.UsesLibraryDependency).DexJarBuildPath().Path().RelativeToTop().String()
+ return module.(java.UsesLibraryDependency).DexJarBuildPath(moduleErrorfTestCtx{}).Path().RelativeToTop().String()
}
// TestBootclasspathFragment_HiddenAPIList checks to make sure that the correct parameters are