Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Dec 15, 2024
1 parent b9edbf8 commit 5bc66e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pinger/src/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ mod tests {
#[cfg(target_os = "linux")]
fn test_linux_detection() {
use super::*;
use std::time::Duration;
use os_info::Type;
use std::time::Duration;

let platform = LinuxPinger::detect_platform_ping(PingOptions::new(
"foo.com".to_string(),
Expand Down
4 changes: 2 additions & 2 deletions pinger/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mod tests {
use crate::linux::LinuxPinger;
use crate::macos::MacOSPinger;
#[cfg(windows)]
use crate::windows::WindowsParser;
use crate::windows::WindowsPinger;
use crate::{PingOptions, PingResult, Pinger};
use std::time::Duration;

Expand Down Expand Up @@ -89,7 +89,7 @@ mod tests {
#[cfg(windows)]
#[test]
fn windows() {
test_parser::<WindowsParser>(include_str!("tests/windows.txt"));
test_parser::<WindowsPinger>(include_str!("tests/windows.txt"));
}

#[test]
Expand Down

0 comments on commit 5bc66e1

Please sign in to comment.