Signed-off-by: Jacob Kiers <code@kiers.eu>
This commit is contained in:
2023-10-05 00:26:19 +02:00
parent 3a2367ef28
commit 07fccb6b2a
2 changed files with 2 additions and 2 deletions

View File

@@ -99,6 +99,6 @@ mod tests {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
];
let sni = get_sni(&BUF);
assert!(sni[0] == "www.lirui.tech".to_string());
assert!(sni[0] == *"www.lirui.tech");
}
}