Skip to content

Add anchor order test. - #126

Closed
ingydotnet wants to merge 1 commit into
ruby:masterfrom
yaml:anchor-order
Closed

ingydotnet wants to merge 1 commit into
ruby:masterfrom
yaml:anchor-order

Conversation

@ingydotnet

Copy link
Copy Markdown

Anchors should be emitted in ascending order.

Anchors should be emitted in ascending order.
@ingydotnet

Copy link
Copy Markdown
Author

Aaron, this is now a failing test.

It is best for YAML dumps to having anchors emitted in ascending order (&1 &2 &3).

Hope this helps.

@hsbt

hsbt commented Sep 11, 2026

Copy link
Copy Markdown
Member

Closing, since anchor numbering does not change what loads back and I'd rather not change dump output for everyone over it.

@hsbt hsbt closed this Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants