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

Add first test #1

Closed
wants to merge 4 commits into from
Closed

Add first test #1

wants to merge 4 commits into from

Conversation

JohanLorenzo
Copy link
Contributor

@fabricedesre As said offline, the first test doesn't look that fancy due to the lack of mocking. I'll see with Felix if there's a smart way to mock things out.

In the meantime, we have something travis and coveralls.io can work with.

@JohanLorenzo
Copy link
Contributor Author

Code coverage requires the rust compiler to don't strip binaries. This is handled in rust-lang/rust#31368 . In the meantime, I removed code coverage from the PR.

r? @fabricedesre

}
}

let hostname: Option<String> = Some("localhost".to_string());
Copy link
Collaborator

Choose a reason for hiding this comment

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

use to_owned() instead of to_string(), and inline it in Context::new(false, ...)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@JohanLorenzo JohanLorenzo deleted the add-first-test branch February 3, 2016 19:21
@JohanLorenzo JohanLorenzo restored the add-first-test branch February 3, 2016 19:22
@JohanLorenzo JohanLorenzo mentioned this pull request Feb 3, 2016
@fabricedesre fabricedesre mentioned this pull request Mar 18, 2016
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