From 339f0bb1af31b6e9dcf26b942bb50211203eaaaa Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 14 Jan 2025 00:44:12 +0200 Subject: [PATCH] change arg attribute name --- tests/integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 2d92c08..98cf2f1 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -25,7 +25,7 @@ fn client_connection_request_titan() { assert_eq!( std::str::from_utf8( &Request::titan( - Uri::parse(&format!("{REQUEST}?arg={ARGUMENT}"), UriFlags::NONE).unwrap(), + Uri::parse(&format!("{REQUEST}?argument={ARGUMENT}"), UriFlags::NONE).unwrap(), DATA.to_vec(), Some(MIME.to_string()), Some(TOKEN.to_string()), @@ -34,7 +34,7 @@ fn client_connection_request_titan() { ) .unwrap(), format!( - "{REQUEST};size={};mime={MIME};token={TOKEN}?arg={ARGUMENT}\r\n{}", + "{REQUEST};size={};mime={MIME};token={TOKEN}?argument={ARGUMENT}\r\n{}", DATA.len(), std::str::from_utf8(DATA).unwrap(), )