diff --git a/buildozer/buildozer_test.sh b/buildozer/buildozer_test.sh index 0f71b75b1..666d4b940 100755 --- a/buildozer/buildozer_test.sh +++ b/buildozer/buildozer_test.sh @@ -1007,26 +1007,6 @@ function test_set_int() { )' } -function test_set_licenses() { - in='cc_test(name = "a")' - - run "$in" 'set licenses foo' '//pkg:a' - assert_equals 'cc_test( - name = "a", - licenses = ["foo"], -)' -} - -function test_set_distribs() { - in='cc_test(name = "a")' - - run "$in" 'set distribs foo' '//pkg:a' - assert_equals 'cc_test( - name = "a", - distribs = ["foo"], -)' -} - function test_set_if_absent_absent() { in='soy_js(name = "a")' diff --git a/warn/warn_bazel.go b/warn/warn_bazel.go index c7a3fc689..cd67c3572 100644 --- a/warn/warn_bazel.go +++ b/warn/warn_bazel.go @@ -26,7 +26,6 @@ import ( ) var functionsWithPositionalArguments = map[string]bool{ - "distribs": true, "exports_files": true, "licenses": true, "print": true,