Skip to content

CFE-2140: Allowed modules to define lists with a trailing comma - #6271

Merged
nickanderson merged 1 commit into
cfengine:masterfrom
nickanderson:CFE-2140/master
Aug 15, 2026
Merged

CFE-2140: Allowed modules to define lists with a trailing comma#6271
nickanderson merged 1 commit into
cfengine:masterfrom
nickanderson:CFE-2140/master

Conversation

@nickanderson

Copy link
Copy Markdown
Member

Seven single trailing comma cases move from the unit test's must-fail table to must-pass, which is where the acceptance test has expected them since 2015.

Ticket: CFE-2140

{ "a", } was rejected as malformed. Two commas in a row and a leading comma
still are.

The unit test disagreed with the acceptance test here, so seven single trailing
comma cases move from the must-fail table to the must-pass table.

Ticket: CFE-2140
Changelog: Title
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@nickanderson
nickanderson requested a review from larsewi August 5, 2026 20:55
@nickanderson

Copy link
Copy Markdown
Member Author

@cf-bottom jenkins, please

@cf-bottom

Copy link
Copy Markdown

@nickanderson

Copy link
Copy Markdown
Member Author

@cf-bottom jenkins, please

@cf-bottom

Copy link
Copy Markdown

@nickanderson
nickanderson merged commit 17eb78e into cfengine:master Aug 15, 2026
47 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants