File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -15,23 +15,20 @@ defmodule Guides.Plugins.DocFieldsTest do
1515 end
1616
1717 expected = """
18- This is a user struct.
18+ @type t(age) :: %User{age: age | nil, name: String.t() | nil}
1919
20+ This is a user struct.
2021
2122 ## Parameters
2223
23- | Name | Description |
24- |------|-------------|
25- |`:age` | The age parameter.|
26-
24+ Name | Description
25+ :age | The age parameter.
2726
2827 ## Fields
2928
30- | Name | Type | Description |
31- |------|------|-------------|
32- |`:name` | `String.t() | nil` | The name of the user.|
33- |`:age` | `age | nil` | The age of the user.|
34-
29+ Name | Type | Description
30+ :name | String.t() | nil | The name of the user.
31+ :age | age | nil | The age of the user.
3532 """
3633
3734 assert expected === doc
You can’t perform that action at this time.
0 commit comments