Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Wrong test data for Resource groups #605

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

Wrong test data for Resource groups #605

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant