diff --git a/crates/owlry/tests/ipc_test.rs b/crates/owlry/tests/ipc_test.rs index 79fc10a..ef057c5 100644 --- a/crates/owlry/tests/ipc_test.rs +++ b/crates/owlry/tests/ipc_test.rs @@ -5,6 +5,7 @@ fn test_query_request_roundtrip() { let req = Request::Query { text: "fire".into(), modes: Some(vec!["app".into(), "cmd".into()]), + prefix: None, }; let json = serde_json::to_string(&req).unwrap(); let parsed: Request = serde_json::from_str(&json).unwrap(); @@ -16,6 +17,7 @@ fn test_query_request_without_modes() { let req = Request::Query { text: "fire".into(), modes: None, + prefix: None, }; let json = serde_json::to_string(&req).unwrap(); assert!(!json.contains("modes")); diff --git a/crates/owlry/tests/server_test.rs b/crates/owlry/tests/server_test.rs index 4870ee0..0f7b861 100644 --- a/crates/owlry/tests/server_test.rs +++ b/crates/owlry/tests/server_test.rs @@ -92,6 +92,7 @@ fn test_server_handles_query_request() { let req = Request::Query { text: "nonexistent_query_xyz".into(), modes: None, + prefix: None, }; let resp = roundtrip(&mut stream, &req);