Skip to content

Unit tests for the git store #27

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

Merged
merged 1 commit into from
Apr 13, 2018
Merged

Unit tests for the git store #27

merged 1 commit into from
Apr 13, 2018

Conversation

bpineau
Copy link
Owner

@bpineau bpineau commented Apr 13, 2018

Also, add the code coverage badge to README.md.
Also, remove gocyclo from the metalinter tests: it was already
a pain to comply with, and all of a sudden started to include
all the vendor code (not sure why? maybe I've updated it by
mistake).

Also, add the code coverage badge to README.md.
Also, remove gocyclo from the metalinter tests: it was already
a pain to comply with, and all of a sudden started to include
all the vendor code (not sure why? maybe I've updated it by
mistake).
t.Fatal("failed to create a temp dir for tests")
}

defer os.RemoveAll(dir)
Copy link
Owner Author

Choose a reason for hiding this comment

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

Error return value is not checked

t.Fatal("failed to create a temp dir for tests")
}

defer os.RemoveAll(newdir)
Copy link
Owner Author

Choose a reason for hiding this comment

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

Error return value is not checked

t.Fatal("failed to create a temp dir for tests")
}

defer os.RemoveAll(notrepo)
Copy link
Owner Author

Choose a reason for hiding this comment

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

Error return value is not checked

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.8%) to 91.545% when pulling 4cc05c0 on unittests_for_git into a25735f on master.

@bpineau bpineau merged commit 2ad54e8 into master Apr 13, 2018
@bpineau bpineau deleted the unittests_for_git branch April 13, 2018 18:31
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