diff --git a/docs/unittest_doc.md b/docs/unittest_doc.md index a13b32a..353d05b 100755 --- a/docs/unittest_doc.md +++ b/docs/unittest_doc.md @@ -426,7 +426,7 @@ Registers the toolchains for unittest users. ## unittest.make
-unittest.make(impl, attrs) +unittest.make(impl, attrs, doc)Creates a unit test rule from its implementation function. @@ -462,6 +462,7 @@ Recall that names of test rules must end in `_test`. | :------------- | :------------- | :------------- | | impl | The implementation function of the unit test. | none | | attrs | An optional dictionary to supplement the attrs passed to the unit test's
rule()
constructor. | {}
|
+| doc | A description of the rule that can be extracted by documentation generating tools. | ""
|
**RETURNS**
diff --git a/lib/unittest.bzl b/lib/unittest.bzl
index 4398f16..02e374c 100644
--- a/lib/unittest.bzl
+++ b/lib/unittest.bzl
@@ -148,7 +148,7 @@ def _impl_function_name(impl):
impl_name = impl_name.partition("