summaryrefslogtreecommitdiff
path: root/sdk/sdk_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-03-09 23:02:20 +0000
committer Paul Duffin <paulduffin@google.com> 2021-03-09 23:03:48 +0000
commit8edc99c80355e78537bcecfa321b9c97237a7c92 (patch)
tree36ea8aa59ac0b4675a35da68b3343f3ed0022f3b /sdk/sdk_test.go
parent6d9108f0473aa7e5726cb232ede83c1a2016e5d6 (diff)
Simplify TestSdkInstall
Test: m nothing Change-Id: Iff59c8c331402b8d53323072213579ed9956cd90
Diffstat (limited to 'sdk/sdk_test.go')
-rw-r--r--sdk/sdk_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/sdk/sdk_test.go b/sdk/sdk_test.go
index c4dc41beb..796ac7570 100644
--- a/sdk/sdk_test.go
+++ b/sdk/sdk_test.go
@@ -309,16 +309,13 @@ func TestPrebuiltVisibilityProperty_AddPrivate(t *testing.T) {
`)
}
-func TestSDkInstall(t *testing.T) {
+func TestSdkInstall(t *testing.T) {
sdk := `
sdk {
name: "mysdk",
}
`
- result := testSdkWithFs(t, ``,
- map[string][]byte{
- "Android.bp": []byte(sdk),
- })
+ result := testSdkWithFs(t, sdk, nil)
result.CheckSnapshot("mysdk", "",
checkAllOtherCopyRules(`.intermediates/mysdk/common_os/mysdk-current.zip -> mysdk-current.zip`),