Merge "Fix tests for cc_prebuilt_library bp2build" am: 2e7c82ea0b

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2068107

Change-Id: Ifddb1c78328b50ebb0b45b2dd81041a8f22b9c59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Trevor Radcliffe 2022-04-20 14:40:14 +00:00 committed by Automerger Merge Worker
commit 5d9a85745b
2 changed files with 4 additions and 2 deletions

View file

@ -45,7 +45,9 @@ bootstrap_go_package {
"cc_library_shared_conversion_test.go",
"cc_library_static_conversion_test.go",
"cc_object_conversion_test.go",
"cc_prebuilt_library_conversion_test.go",
"cc_prebuilt_library_shared_test.go",
"cc_prebuilt_library_static_test.go",
"conversion_test.go",
"filegroup_conversion_test.go",
"genrule_conversion_test.go",

View file

@ -136,7 +136,7 @@ cc_prebuilt_library {
},
bazel_module: { bp2build_available: true },
}`,
expectedErr: fmt.Errorf("Expected at most once source file"),
expectedErr: fmt.Errorf("Expected at most one source file"),
})
}
@ -159,7 +159,7 @@ cc_prebuilt_library {
},
bazel_module: { bp2build_available: true },
}`,
expectedErr: fmt.Errorf("Expected at most once source file"),
expectedErr: fmt.Errorf("Expected at most one source file"),
})
}