distant-core-net now compiles and passes tests

feat/RusshSupport
Chip Senkbeil 7 months ago
parent f65fb8686b
commit b32eb504b3
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

@ -511,7 +511,7 @@ mod tests {
use test_log::test; use test_log::test;
use super::*; use super::*;
use crate::common::Frame; use crate::Frame;
macro_rules! server_version { macro_rules! server_version {
() => { () => {

@ -74,7 +74,7 @@ mod tests {
use tokio::task::JoinHandle; use tokio::task::JoinHandle;
use super::*; use super::*;
use crate::common::TransportExt; use crate::TransportExt;
#[test(tokio::test)] #[test(tokio::test)]
async fn should_fail_to_bind_if_port_already_bound() { async fn should_fail_to_bind_if_port_already_bound() {

@ -100,7 +100,7 @@ mod tests {
use tokio::task::JoinHandle; use tokio::task::JoinHandle;
use super::*; use super::*;
use crate::common::TransportExt; use crate::TransportExt;
#[test(tokio::test)] #[test(tokio::test)]
async fn should_succeed_to_bind_if_file_exists_at_path_but_nothing_listening() { async fn should_succeed_to_bind_if_file_exists_at_path_but_nothing_listening() {

@ -71,7 +71,7 @@ mod tests {
use tokio::task::JoinHandle; use tokio::task::JoinHandle;
use super::*; use super::*;
use crate::common::TransportExt; use crate::TransportExt;
#[test(tokio::test)] #[test(tokio::test)]
async fn should_fail_to_bind_if_pipe_already_bound() { async fn should_fail_to_bind_if_pipe_already_bound() {

@ -915,7 +915,7 @@ mod tests {
use test_log::test; use test_log::test;
use super::*; use super::*;
use crate::common::TestTransport; use crate::TestTransport;
/// Codec that always succeeds without altering the frame /// Codec that always succeeds without altering the frame
#[derive(Clone, Debug, PartialEq, Eq)] #[derive(Clone, Debug, PartialEq, Eq)]

@ -15,7 +15,7 @@ impl Version {
/// major version is `0`. /// major version is `0`.
/// ///
/// ``` /// ```
/// use distant_core_net::common::Version; /// use distant_core_net::Version;
/// ///
/// // Matching versions are compatible /// // Matching versions are compatible
/// let a = Version::new(1, 2, 3); /// let a = Version::new(1, 2, 3);

Loading…
Cancel
Save