Closed
Description
Describe the Bug
It currently fails to parse the plan in spec/unit/puppet-strings/json_spec.rb and fails with error [error]: Failed to parse (stdin): Syntax error at 'param1' (line: 5, column: 19)
.
Adding a new unit test to parse a plan also fails.
However, it is able to parse plans in the wild, e.g. https://github.com/puppetlabs/puppetlabs-pam_tools/blob/main/REFERENCE.md#plans-1 . I suppose it’s possible that it has stopped working since that was generated; I haven’t yet checked.
This is an offshoot of #302; it seemed like this might be a bigger issue than just warnings during tests so I figured I should split it out.
Expected Behavior
It should parse a plan successfully without generating failures and generate documentation for it.
Steps to Reproduce
Steps to reproduce the behavior:
bundle exec rake spec
Environment
- ruby 3.1.2p20
- macOS 12.6.0
- Current main branch (dba16ed)