Skip to content

Fixed unit tests to run on Windows #49

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
Nov 13, 2016
Merged

Fixed unit tests to run on Windows #49

merged 1 commit into from
Nov 13, 2016

Conversation

shadyoak
Copy link
Contributor

I was unable to get the unit tests to run properly on Windows. The issue was that temporary content created by the unit tests was not getting properly released. This pull request updates the ContentStore.Get() method to return an io.ReadCloser instead of an io.Reader and closes resources when appropriate so that the unit tests now function on Windows. Also, I fixed a few typos I found along the way.

@parkr
Copy link

parkr commented Mar 11, 2016

👍 Well done!

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