Skip to content

Commit 206e878

Browse files
committed
fix: rustfmt the timeout test
Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent 1b28cbd commit 206e878

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

host/src/lib.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3381,13 +3381,9 @@ mod tests {
33813381
fn net_socket_has_default_timeout() {
33823382
let mut tools = ToolRegistry::new();
33833383
let exit_code = Arc::new(AtomicI32::new(0));
3384-
let table = register_internal_tools(
3385-
&mut tools,
3386-
&exit_code,
3387-
Some(&NetworkPolicy::AllowAll),
3388-
None,
3389-
)
3390-
.expect("network tools should be registered");
3384+
let table =
3385+
register_internal_tools(&mut tools, &exit_code, Some(&NetworkPolicy::AllowAll), None)
3386+
.expect("network tools should be registered");
33913387

33923388
let req = br#"{"name":"net_socket","args":{"family":2,"type":1}}"#;
33933389
let resp = tools.dispatch(req);

0 commit comments

Comments
 (0)