`desc` in .case files cannot start with `[` (even if quoted)
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 564
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 10
Description
See https://github.com/tc39/test262/pull/4341.
When you have a .case file that contains desc: "[foo] bar" and a .template that has desc: baz, the generator will create a test that has desc: [foo] bar (baz) (note the missing quotes). This is invalid, as in Yaml that [foo] is parsed as an array.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a .case file containing desc: "[foo] bar" and a .template containing desc: baz. Start by tracing the generator's handling of desc values, then verify that the generated test remains valid YAML and preserves quoting around the bracketed description.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100