summaryrefslogtreecommitdiff
path: root/android/package_test.go
diff options
context:
space:
mode:
author Usta <usta@google.com> 2021-12-06 15:17:23 -0500
committer Usta <usta@google.com> 2021-12-13 13:33:15 -0500
commiteabf0f36f32c55d60efd199c574da224c64cd5e5 (patch)
treeeb060a50dd7ddc408986c71086228037647231f1 /android/package_test.go
parentd7c3fc0ae061ad31fc5e112b70d7a4c3642d9741 (diff)
cosmetic changes
base.module = module is redundant in InitDefaultsModule() becase of the preceding initAndroidModuleBase() minor reformat of initArchModel() Test: m nothing Bug: n/a Change-Id: I16d5a400a33098a81ffbf6c81eba5b13db6debf1
Diffstat (limited to 'android/package_test.go')
-rw-r--r--android/package_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/android/package_test.go b/android/package_test.go
index 7ea10a4da..65c424013 100644
--- a/android/package_test.go
+++ b/android/package_test.go
@@ -11,7 +11,7 @@ var packageTests = []struct {
}{
// Package default_visibility handling is tested in visibility_test.go
{
- name: "package must not accept visibility and name properties",
+ name: "package must not accept visibility, name or licenses properties",
fs: map[string][]byte{
"top/Android.bp": []byte(`
package {
@@ -48,8 +48,7 @@ var packageTests = []struct {
default_visibility: ["//visibility:private"],
default_applicable_licenses: ["license"],
}
-
- package {
+ package {
}`),
},
expectedErrors: []string{