Merge pull request #127 from whopper/PDOC-125/acceptance
(PDOC-125) Update JSON acceptance test with signatures changes
This commit is contained in:
		
						commit
						95df5e6fa9
					
				| 
						 | 
					@ -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