Skip to content

Conversation

@braydonk
Copy link
Collaborator

Fixes #256

In braydonk/yaml#21 I adjusted a particular behaviour for DocumentStart node HeadComment handling that ensures the comment goes in the right place and doesn't unilaterally add a newline. This bug was causing a yamlfmt formatting error. However, a huge number of test cases rely on that particular behaviour, meaning they fail the test. I didn't write these tests and don't have time to dig into getting them fixed, so I'm disabling the test for now.

@braydonk braydonk merged commit bad3941 into google:main Jun 11, 2025
5 checks passed
steeef pushed a commit to steeef/yamlfmt that referenced this pull request Sep 5, 2025
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.

Test failure in pkg/yaml/node_test.go

1 participant