summaryrefslogtreecommitdiff
path: root/sdk/sdk_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2025-02-12 22:42:20 -0800
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-02-12 22:42:20 -0800
commita17496cb5d6effeb341f6b95acd5a4d4735642bf (patch)
tree051c99c1fae6383de4b5d2785dbb7a00dd3571c3 /sdk/sdk_test.go
parent852f109a206ccc5fdd869de833a97e0d1b9a09a2 (diff)
parent8ea2abcb0ff0f2e23391dbde621d62c0980138e7 (diff)
Merge "Don't panic in ModuleForTests and friends" into main am: 4a80748e09 am: 8ea2abcb0f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3490133 Change-Id: If401bc7e4ed94f982391e49aa059015cbaecca5f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'sdk/sdk_test.go')
-rw-r--r--sdk/sdk_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdk/sdk_test.go b/sdk/sdk_test.go
index b525eb8a3..985641e95 100644
--- a/sdk/sdk_test.go
+++ b/sdk/sdk_test.go
@@ -350,7 +350,7 @@ func TestSnapshot_EnvConfiguration(t *testing.T) {
)
checkZipFile := func(t *testing.T, result *android.TestResult, expected string) {
- zipRule := result.ModuleForTests("mysdk", "common_os").Rule("SnapshotZipFiles")
+ zipRule := result.ModuleForTests(t, "mysdk", "common_os").Rule("SnapshotZipFiles")
android.AssertStringEquals(t, "snapshot zip file", expected, zipRule.Output.String())
}