Skip to content

Commit

Permalink
fix test/lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-omer-shamash committed Jan 14, 2025
1 parent 2c25f24 commit f5ec77b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lightway-core/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use tracing::warn;
// }
// }

//!
// HOT/COLD path implementation until RUST adds
// https://github.com/rust-lang/rust/issues/26179

Expand Down Expand Up @@ -391,8 +390,9 @@ mod tests {
];

#[test_case(&[] => false; "empty")]
#[test_case(&[0x40] => true; "v4")]
#[test_case(&[0x60] => false; "v6")]
#[test_case(&[0x40; 19] => false; "buffer too small")]
#[test_case(&[0x45; 20] => true; "minimum valid v4")]
#[test_case(&[0x60; 20] => false; "v6 header")]
#[test_case(SOURCE_1_DEST_1 => true; "SOURCE_1_TO_DEST_1")]
#[test_case(SOURCE_1_DEST_2 => true; "SOURCE_1_TO_DEST_2")]
#[test_case(SOURCE_2_DEST_1 => true; "SOURCE_2_TO_DEST_1")]
Expand Down

0 comments on commit f5ec77b

Please sign in to comment.