(PDOC-125) Update JSON acceptance test with signatures changes
This commit is contained in:
parent
6c35f889d4
commit
bb9db53702
|
@ -15,7 +15,21 @@ expected = {
|
||||||
"file" => "/etc/puppet/modules/test/lib/puppet/parser/functions/function3x.rb",
|
"file" => "/etc/puppet/modules/test/lib/puppet/parser/functions/function3x.rb",
|
||||||
"line" => 1,
|
"line" => 1,
|
||||||
"type" => "ruby3x",
|
"type" => "ruby3x",
|
||||||
"signature" => "function3x()",
|
"signatures" => [
|
||||||
|
{
|
||||||
|
"signature" =>"function3x()",
|
||||||
|
"docstring" => {
|
||||||
|
"text" => "This is the function documentation for `function3x`",
|
||||||
|
"tags" => [
|
||||||
|
{
|
||||||
|
"tag_name"=>"return",
|
||||||
|
"text"=>"",
|
||||||
|
"types"=>["Any"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
],
|
||||||
"docstring" => {
|
"docstring" => {
|
||||||
"text" => "This is the function documentation for `function3x`",
|
"text" => "This is the function documentation for `function3x`",
|
||||||
"tags" => ["tag_name" => "return", "text" => "", "types" => ["Any"]]},
|
"tags" => ["tag_name" => "return", "text" => "", "types" => ["Any"]]},
|
||||||
|
|
Loading…
Reference in New Issue