(PDOC-125) Update JSON acceptance test with signatures changes

This commit is contained in:
Will Hopper 2016-11-15 11:01:12 -08:00
parent 6c35f889d4
commit bb9db53702
1 changed files with 15 additions and 1 deletions

View File

@ -15,7 +15,21 @@ expected = {
"file" => "/etc/puppet/modules/test/lib/puppet/parser/functions/function3x.rb",
"line" => 1,
"type" => "ruby3x",
"signature" => "function3x()",
"signatures" => [
{
"signature" =>"function3x()",
"docstring" => {
"text" => "This is the function documentation for `function3x`",
"tags" => [
{
"tag_name"=>"return",
"text"=>"",
"types"=>["Any"]
}
]
}
},
],
"docstring" => {
"text" => "This is the function documentation for `function3x`",
"tags" => ["tag_name" => "return", "text" => "", "types" => ["Any"]]},