diff options
| author | 2021-12-21 19:28:36 +0000 | |
|---|---|---|
| committer | 2021-12-21 19:28:36 +0000 | |
| commit | 68542bfcb5674a0e2661407c03563f6a90a9243c (patch) | |
| tree | bf810feb024e3349a82cb51a778aa3c0a01ae9f9 /apex/apex_test.go | |
| parent | cac7f690ebeaccd65482ff0322a76e8d973ef872 (diff) | |
| parent | a3d7915c9e53125e9e26278e619eb53b24b7a08f (diff) | |
Merge "Add comments and clarify errors in neverallow"
Diffstat (limited to 'apex/apex_test.go')
| -rw-r--r-- | apex/apex_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index 9ab8ca1c5..727a1f2ec 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -7457,7 +7457,7 @@ func TestApexPermittedPackagesRules(t *testing.T) { }, { name: "Bootclasspath apex jar not satisfying allowed module packages on Q.", - expectedError: `module "bcp_lib2" .* which is restricted because jars that are part of the myapex module may only allow these packages: foo.bar with min_sdk < T. Please jarjar or move code around.`, + expectedError: `(?s)module "bcp_lib2" .* which is restricted because jars that are part of the myapex module may only allow these packages: foo.bar with min_sdk < T. Please jarjar or move code around.`, bp: ` java_library { name: "bcp_lib1", @@ -7494,7 +7494,7 @@ func TestApexPermittedPackagesRules(t *testing.T) { }, { name: "Bootclasspath apex jar not satisfying allowed module packages on R.", - expectedError: `module "bcp_lib2" .* which is restricted because jars that are part of the myapex module may only allow these packages: foo.bar with min_sdk < T. Please jarjar or move code around.`, + expectedError: `(?s)module "bcp_lib2" .* which is restricted because jars that are part of the myapex module may only allow these packages: foo.bar with min_sdk < T. Please jarjar or move code around.`, bp: ` java_library { name: "bcp_lib1", |