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

Fix an issue where proc_mounts would skip the first line #77

Merged
merged 2 commits into from
Nov 14, 2020

Conversation

shssoichiro
Copy link
Contributor

Also add unit tests around this method
to catch this and a couple of other gotchas
in parsing this file.

Added another commit to avoid the use of flat_map entirely.
That parser seems to behave differently in nom 6 than it did in nom 3,
and my concern was that it may cause issues (not yet discovered)
in other places where it was used.

Also add unit tests around this method
to catch this and a couple of other gotchas
in parsing this file.
@valpackett valpackett merged commit 46a76b4 into valpackett:master Nov 14, 2020
@shssoichiro shssoichiro deleted the fix-proc-mounts branch November 14, 2020 22:18
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