aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/macro_kwargs_test/golden.md
blob: 1e5ff6dc6f78b2606efa130b3e1a93c624cd1c20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!-- Generated with Stardoc: http://skydoc.bazel.build -->

Tests for functions which use *args or **kwargs

<a id="#macro_with_args"></a>

## macro_with_args

<pre>
macro_with_args(<a href="#macro_with_args-name">name</a>, <a href="#macro_with_args-args">args</a>)
</pre>

My args macro is OK.

**PARAMETERS**


| Name  | Description | Default Value |
| :------------- | :------------- | :------------- |
| <a id="macro_with_args-name"></a>name |  The name of the test rule.   |  none |
| <a id="macro_with_args-args"></a>args |  Other arguments to include   |  none |

**RETURNS**

An empty list.


<a id="#macro_with_both"></a>

## macro_with_both

<pre>
macro_with_both(<a href="#macro_with_both-name">name</a>, <a href="#macro_with_both-number">number</a>, <a href="#macro_with_both-args">args</a>, <a href="#macro_with_both-kwargs">kwargs</a>)
</pre>

Oh wow this macro has both.

Not much else to say.


**PARAMETERS**


| Name  | Description | Default Value |
| :------------- | :------------- | :------------- |
| <a id="macro_with_both-name"></a>name |  The name of the test rule.   |  none |
| <a id="macro_with_both-number"></a>number |  Some number used for important things   |  <code>3</code> |
| <a id="macro_with_both-args"></a>args |  Other arguments to include   |  none |
| <a id="macro_with_both-kwargs"></a>kwargs |  Other attributes to include   |  none |

**RETURNS**

An empty list.


<a id="#macro_with_kwargs"></a>

## macro_with_kwargs

<pre>
macro_with_kwargs(<a href="#macro_with_kwargs-name">name</a>, <a href="#macro_with_kwargs-config">config</a>, <a href="#macro_with_kwargs-deps">deps</a>, <a href="#macro_with_kwargs-kwargs">kwargs</a>)
</pre>

My kwargs macro is the best.

This is a long multi-line doc string.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer
elementum, diam vitae tincidunt pulvinar, nunc tortor volutpat dui,
vitae facilisis odio ligula a tortor. Donec ullamcorper odio eget ipsum tincidunt,
vel mollis eros pellentesque.


**PARAMETERS**


| Name  | Description | Default Value |
| :------------- | :------------- | :------------- |
| <a id="macro_with_kwargs-name"></a>name |  The name of the test rule.   |  none |
| <a id="macro_with_kwargs-config"></a>config |  Config to use for my macro   |  none |
| <a id="macro_with_kwargs-deps"></a>deps |  List of my macro's dependencies   |  <code>[]</code> |
| <a id="macro_with_kwargs-kwargs"></a>kwargs |  Other attributes to include   |  none |

**RETURNS**

An empty list.