Merge "Fix tests for cc_prebuilt_library bp2build"

This commit is contained in:
Trevor Radcliffe 2022-04-20 14:16:44 +00:00 committed by Gerrit Code Review
commit 2e7c82ea0b
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"),
})
}