summaryrefslogtreecommitdiff
path: root/sdk/exports_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-03-11 12:32:12 +0000
committer Paul Duffin <paulduffin@google.com> 2021-03-11 13:39:24 +0000
commit981b94b4609b34b880bc8b85fc51fed4daf94d17 (patch)
treef01ee74891ec085c7ea25d3b11e194783f584002 /sdk/exports_test.go
parent8306f25679746fd00ae2739b62fa1f70dae5a52e (diff)
Switch CheckSnapshot from a testSdkResult method to a function
This will allow the testSdkResult to be replaced with the TestResult when switching sdk package to use test fixtures. Bug: 181070625 Test: m nothing Change-Id: Ieca63f4c189f5e804102aeb4073289ea03143b6e
Diffstat (limited to 'sdk/exports_test.go')
-rw-r--r--sdk/exports_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdk/exports_test.go b/sdk/exports_test.go
index 1c59244d8..54a40d272 100644
--- a/sdk/exports_test.go
+++ b/sdk/exports_test.go
@@ -42,7 +42,7 @@ func TestModuleExportsSnapshot(t *testing.T) {
"package/Android.bp": []byte(packageBp),
})
- result.CheckSnapshot("myexports", "package",
+ CheckSnapshot(result, "myexports", "package",
checkAndroidBpContents(`
// This is auto-generated. DO NOT EDIT.