change arg attribute name

This commit is contained in:
yggverse 2025-01-14 00:44:12 +02:00
parent ac53f73a60
commit 339f0bb1af

View file

@ -25,7 +25,7 @@ fn client_connection_request_titan() {
assert_eq!( assert_eq!(
std::str::from_utf8( std::str::from_utf8(
&Request::titan( &Request::titan(
Uri::parse(&format!("{REQUEST}?arg={ARGUMENT}"), UriFlags::NONE).unwrap(), Uri::parse(&format!("{REQUEST}?argument={ARGUMENT}"), UriFlags::NONE).unwrap(),
DATA.to_vec(), DATA.to_vec(),
Some(MIME.to_string()), Some(MIME.to_string()),
Some(TOKEN.to_string()), Some(TOKEN.to_string()),
@ -34,7 +34,7 @@ fn client_connection_request_titan() {
) )
.unwrap(), .unwrap(),
format!( format!(
"{REQUEST};size={};mime={MIME};token={TOKEN}?arg={ARGUMENT}\r\n{}", "{REQUEST};size={};mime={MIME};token={TOKEN}?argument={ARGUMENT}\r\n{}",
DATA.len(), DATA.len(),
std::str::from_utf8(DATA).unwrap(), std::str::from_utf8(DATA).unwrap(),
) )