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

Increase test coverage #98

Merged
merged 1 commit into from
Mar 21, 2019
Merged

Increase test coverage #98

merged 1 commit into from
Mar 21, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Mar 21, 2019

Relates to #94.

@rvl rvl self-assigned this Mar 21, 2019
@KtorZ KtorZ mentioned this pull request Mar 21, 2019
@@ -45,8 +45,7 @@ decodePackfile pf = case runGetOrFail getHeader pf of
Left e -> Left e
Right () -> case runGetOrFail getBlobs rest of
Left (_, _, msg) -> Left (BlobDecodeError msg)
Right ("", _, res) -> Right res
Right (_, _, _) -> Left (BlobDecodeError "Unconsumed data")
Right (_, _, res) -> Right res
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed unreachable code.

@KtorZ KtorZ changed the base branch from master to rvl/94/readme March 21, 2019 13:19
@KtorZ KtorZ merged commit acf44ac into rvl/94/readme Mar 21, 2019
@KtorZ KtorZ deleted the rvl/94/coverage branch March 21, 2019 13:19
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.

None yet

3 participants