Exporting MakeBazelTarget() in testing.go
Since we are putting conversion tests in the same package as the module being converted from now on Test: m bp2build Change-Id: Ied53589d497fef70bfa11d8f6067459c9a50cd72
This commit is contained in:
@@ -54,7 +54,7 @@ java_library {
|
||||
bazel_module: { bp2build_available: false },
|
||||
}`,
|
||||
ExpectedBazelTargets: []string{
|
||||
makeBazelTarget("java_plugin", "java-plug-1", AttrNameToString{
|
||||
MakeBazelTarget("java_plugin", "java-plug-1", AttrNameToString{
|
||||
"target_compatible_with": `select({
|
||||
"//build/bazel/platforms/os:android": ["@platforms//:incompatible"],
|
||||
"//conditions:default": [],
|
||||
@@ -95,7 +95,7 @@ java_library {
|
||||
bazel_module: { bp2build_available: false },
|
||||
}`,
|
||||
ExpectedBazelTargets: []string{
|
||||
makeBazelTarget("java_plugin", "java-plug-1", AttrNameToString{
|
||||
MakeBazelTarget("java_plugin", "java-plug-1", AttrNameToString{
|
||||
"target_compatible_with": `select({
|
||||
"//build/bazel/platforms/os:android": ["@platforms//:incompatible"],
|
||||
"//conditions:default": [],
|
||||
|
Reference in New Issue
Block a user