diff options
Diffstat (limited to 'bp2build/python_binary_conversion_test.go')
-rw-r--r-- | bp2build/python_binary_conversion_test.go | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/bp2build/python_binary_conversion_test.go b/bp2build/python_binary_conversion_test.go index 7600e3651..2054e0678 100644 --- a/bp2build/python_binary_conversion_test.go +++ b/bp2build/python_binary_conversion_test.go @@ -33,24 +33,15 @@ func TestPythonBinaryHost(t *testing.T) { blueprint: `python_binary_host { name: "foo", main: "a.py", - srcs: [ - "**/*.py" - ], - exclude_srcs: [ - "b/e.py" - ], - data: [ - "files/data.txt", - ], - + srcs: ["**/*.py"], + exclude_srcs: ["b/e.py"], + data: ["files/data.txt",], bazel_module: { bp2build_available: true }, } `, expectedBazelTargets: []string{`py_binary( name = "foo", - data = [ - "files/data.txt", - ], + data = ["files/data.txt"], main = "a.py", srcs = [ "a.py", @@ -83,9 +74,7 @@ func TestPythonBinaryHost(t *testing.T) { expectedBazelTargets: []string{`py_binary( name = "foo", python_version = "PY2", - srcs = [ - "a.py", - ], + srcs = ["a.py"], )`, }, }, @@ -113,9 +102,7 @@ func TestPythonBinaryHost(t *testing.T) { // python_version is PY3 by default. `py_binary( name = "foo", - srcs = [ - "a.py", - ], + srcs = ["a.py"], )`, }, }, |