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:
Alix
2022-08-31 18:28:19 +00:00
committed by Alix Espino
parent bf9c26c364
commit e06d75be5d
25 changed files with 288 additions and 288 deletions

View File

@@ -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": [],