Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Adding tests for dapps server. #2021

Merged
merged 2 commits into from Aug 31, 2016
Merged

Adding tests for dapps server. #2021

merged 2 commits into from Aug 31, 2016

Conversation

tomusdrw
Copy link
Collaborator

@tomusdrw tomusdrw commented Aug 30, 2016

Fixes redirection issue.

Closes: #2015

@tomusdrw tomusdrw added the A0-pleasereview 🤓 Pull request needs code review. label Aug 30, 2016

/// Returns address that this server is bound to.
pub fn addr(&self) -> &SocketAddr {
self.server.as_ref().unwrap().addr()
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the proof that server is Some? I also notice that this is only used for tests, maybe it should be marked #[cfg(test)]?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed, thanks!

@rphmeier rphmeier added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Aug 30, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.0%) to 85.389% when pulling 76966ab on dapps-test into efc846b on master.

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. and removed A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. labels Aug 30, 2016
@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Aug 30, 2016
@coveralls
Copy link

coveralls commented Aug 30, 2016

Coverage Status

Coverage decreased (-1.0%) to 85.385% when pulling dcea5c2 on dapps-test into efc846b on master.

@arkpar arkpar merged commit 25e6a4e into master Aug 31, 2016
@tomusdrw tomusdrw deleted the dapps-test branch September 2, 2016 08:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants