-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add tests for parser #164
Conversation
pkg/yang/parse.go
Outdated
@@ -77,9 +77,8 @@ func (s *Statement) SubStatements() []*Statement { return s.statements } | |||
|
|||
// String returns s's tree as a string. |
There was a problem hiding this comment.
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>
)?
There was a problem hiding this comment.
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
@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?
Parse
is now fully tested.