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

Add tests for parser #164

Merged
merged 8 commits into from
Jul 28, 2021
Merged

Add tests for parser #164

merged 8 commits into from
Jul 28, 2021

Conversation

wenovus
Copy link
Collaborator

@wenovus wenovus commented Feb 10, 2021

Parse is now fully tested.

@coveralls
Copy link

coveralls commented Feb 10, 2021

Coverage Status

Coverage increased (+0.4%) to 77.652% when pulling c78364d on add-parser-tests into 60eb03b on master.

@wenovus wenovus marked this pull request as ready for review February 18, 2021 00:06
@wenovus wenovus requested a review from robshakir February 18, 2021 00:07
@@ -77,9 +77,8 @@ func (s *Statement) SubStatements() []*Statement { return s.statements }

// String returns s's tree as a string.
Copy link
Contributor

Choose a reason for hiding this comment

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

Best just to remove this given that it doesn't seem like it does anything particularly useful? Or is this part of the interface that needs to be implemented?

If it's not, should we create some simple implementation here (YANG statement at line X, or even. just <YANG Statement>)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll delete this since it doesn't seem to be need by anything else in goyang as well as ygot.

If someone complains I will add an implementation for it. Added tracking bug at #193

Base automatically changed from cleanup-parser-lexer to master July 28, 2021 21:38
wenovus added 4 commits July 28, 2021 14:45
@robshakir, I didn't do a merge on the older PRs before merging, leading to this breakage on HEAD. Is there a setting in goyang you can enable to make it similar ygot where you need to merge into master first before merge?
@wenovus wenovus merged commit 3825b2c into master Jul 28, 2021
@wenovus wenovus deleted the add-parser-tests branch July 28, 2021 23:55
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.

3 participants