Some doc fixes (#100)

* fix up Args doc block.

* add a module doc string
This commit is contained in:
Thomas Van Lenten 2019-01-25 14:51:01 -05:00 committed by c-parsons
parent f5e50bc53c
commit d3d5ba7d05
2 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,7 @@ def build_test(name, targets, **kwargs):
Args:
name: The name of the test rule.
targets: A list of targets to ensure build.
kwargs: The <a href="https://docs.bazel.build/versions/master/be/common-definitions.html#common-attributes-tests">common attributes for tests</a>.
**kwargs: The <a href="https://docs.bazel.build/versions/master/be/common-definitions.html#common-attributes-tests">common attributes for tests</a>.
"""
if len(targets) == 0:
fail("targets must be non-empty", "targets")

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Unit tests for build_test.bzl."""
load("//rules:build_test.bzl", "build_test")
def build_test_test_suite():