Skip to content

Conversation

@kevinoid
Copy link
Contributor

Nested braces should work correctly when they are adjacent at the start, end, or both. However, this was not handled correctly in editorconfig-core-py. This PR adds tests to cover this case.

I have confirmed that these tests all pass for editorconfig-core-c while 1, 3, 4, and 5 fail for editorconfig-core-py without editorconfig/editorconfig-core-py#33 and pass once applied.

Thanks for considering,
Kevin

Nested braces should work correctly when they are adjacent at the start,
end, or both.  However, this was not handled correctly in
editorconfig-core-py.  Add tests to cover.

I have confirmed that these tests all pass for editorconfig-core-c and
1, 3, 4, and 5 fail for editorconfig-core-py without
editorconfig/editorconfig-core-py#33 and pass once applied.

Signed-off-by: Kevin Locke <[email protected]>
Copy link
Member

@xuhdev xuhdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This seems like an oversight when creating nested tests.

@xuhdev xuhdev merged commit e407c15 into editorconfig:master Nov 29, 2020
@xuhdev
Copy link
Member

xuhdev commented Nov 29, 2020

Thanks!

@kevinoid
Copy link
Contributor Author

My pleasure. Thanks for reviewing and merging it so quickly @xuhdev!

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