diff options
Diffstat (limited to 'test/testdata/function_basic_test/input.bzl')
-rw-r--r-- | test/testdata/function_basic_test/input.bzl | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/test/testdata/function_basic_test/input.bzl b/test/testdata/function_basic_test/input.bzl index 93bf711..2d75025 100644 --- a/test/testdata/function_basic_test/input.bzl +++ b/test/testdata/function_basic_test/input.bzl @@ -54,6 +54,25 @@ def deprecated_do_not_use(): """ pass +# buildifier: disable=unused-variable def undocumented_function(a, b, c): - _ignore = [a, b, c] # @unused + pass + +# buildifier: disable=unused-variable +def param_doc_multiline(complex): + """Has a complex parameter. + + Args: + complex: A parameter with some non-obvious behavior. + + For example, it does things that require **multiple paragraphs** to explain. + + Note: we should preserve the nested indent in the following code: + + ```json + { + "key": "value" + } + ``` + """ pass |