mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-29 16:11:01 +03:00
copilot review: test function name
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -2874,7 +2874,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_parse_simple_header_overrides_content_type_with_json() {
|
||||
fn test_parse_simple_header_ignores_custom_content_type() {
|
||||
let headers = parse_simple_header("Content-Type: text/plain");
|
||||
|
||||
assert_eq!(
|
||||
@@ -2923,7 +2923,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_tcp_proxy_log_target_redacts_path_and_query() {
|
||||
fn test_tcp_proxy_log_target_redacts_query_only() {
|
||||
assert_eq!(
|
||||
tcp_proxy_log_target("https://example.com/api/heartbeat?token=secret"),
|
||||
"https://example.com/api/heartbeat"
|
||||
|
||||
Reference in New Issue
Block a user