Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong test data for Resource groups #629

Open
abtris opened this issue Aug 26, 2017 · 0 comments
Open

Wrong test data for Resource groups #629

abtris opened this issue Aug 26, 2017 · 0 comments

Comments

@abtris
Copy link
Contributor

abtris commented Aug 26, 2017

@goganchic opened apiaryio/snowcrash#438

Recently I've found such test https://github.com/apiaryio/snowcrash/blob/master/test/test-ResourceGroupParser.cc#L103-L133

It tries to process such apib with resource group parser:

# Group
## /r1
p1
## /r2
p2

This data will not match resource group regexp which requires some name after "Group" keyword.

I think this test is wrong and should be modified or removed. It is not possible to have anonymous groups now.

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

No branches or pull requests

1 participant