From ca85c301b91f4416ff261ce73e20602709688035 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 14 Nov 2026 16:57:08 -0500 Subject: [PATCH] automation: declare the loopback test response buffer --- crates/automation/src/rpc/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/automation/src/rpc/tests.rs b/crates/automation/src/rpc/tests.rs index f5c17ccd9b7..b5c6dbdb839 100644 --- a/crates/automation/src/rpc/tests.rs +++ b/crates/automation/src/rpc/tests.rs @@ -958,6 +958,7 @@ fn tcp_serves_loopback() { let auth = authenticate_tcp(&mut reader, &mut s, TOKEN); assert_eq!(auth["result"]["authenticated"], true); writeln!(s, r#"{{"id":"a","method":"methods"}}"#).unwrap(); + let mut line = String::new(); line.clear(); reader.read_line(&mut line).unwrap(); let v: Value = serde_json::from_str(&line).unwrap();