Skip to content

Commit adae234

Browse files
folkertdevsquell
authored andcommitted
cleanup
1 parent f050418 commit adae234

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ntpd/src/daemon/config/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,15 @@ mod tests {
197197
assert_eq!(test.server.listen, "127.0.0.1:123".parse().unwrap());
198198
assert_eq!(test.server.denylist.action, FilterAction::Deny);
199199

200-
let test = dbg!(toml::from_str::<TestConfig>(
200+
let test = toml::from_str::<TestConfig>(
201201
r#"
202202
[server]
203203
listen = "127.0.0.1:123"
204204
205205
[server.allowlist]
206206
filter = ["192.168.33.34/24"]
207207
"#,
208-
));
208+
);
209209
assert!(test.is_err());
210210

211211
let test = toml::from_str::<TestConfig>(

ntpd/src/daemon/keyexchange.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,6 @@ mod tests {
10001000
});
10011001

10021002
let result = run_server(listener).await;
1003-
dbg!(&result);
10041003
assert!(matches!(result, Err(KeyExchangeError::IncompleteResponse)));
10051004
}
10061005

0 commit comments

Comments
 (0)