Skip to content

Move IP related tests to ip.rs #24480

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 16, 2015
Merged

Move IP related tests to ip.rs #24480

merged 1 commit into from
Apr 16, 2015

Conversation

achanda
Copy link
Contributor

@achanda achanda commented Apr 15, 2015

  • Also move common functions to test.rs
  • Leaves out Socket address related tests in addr.rs

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @aturon (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see CONTRIBUTING.md for more information.

match a.to_socket_addrs() {
Ok(a) => Ok(a.collect()),
Err(e) => Err(e.to_string()),
}
Copy link
Member

Choose a reason for hiding this comment

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

It looks like these functions got an extra level of indentation perhaps?

@alexcrichton
Copy link
Member

Awesome, thanks!

- Also move common functions to test.rs
- Leaves out Socket address related tests in addr.rs
@achanda
Copy link
Contributor Author

achanda commented Apr 15, 2015

@alexcrichton fixed now

@alexcrichton
Copy link
Member

@bors: r+ 63e5848 rollup

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 15, 2015
- Also move common functions to test.rs
- Leaves out Socket address related tests in addr.rs
bors added a commit that referenced this pull request Apr 15, 2015
@bors bors merged commit 63e5848 into rust-lang:master Apr 16, 2015
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.

5 participants