From 8edc99c80355e78537bcecfa321b9c97237a7c92 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Tue, 9 Mar 2021 23:02:20 +0000 Subject: [PATCH] Simplify TestSdkInstall Test: m nothing Change-Id: Iff59c8c331402b8d53323072213579ed9956cd90 --- sdk/sdk_test.go | 7 ++----- 1 file 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`),