mirror of https://github.com/fafhrd91/actix-web
Update utils.rs
This commit is contained in:
parent
7b2c849cf3
commit
6c0329ba2f
|
@ -77,6 +77,7 @@ pub fn http_percent_encode(f: &mut fmt::Formatter<'_>, bytes: &[u8]) -> fmt::Res
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
#[test]
|
||||||
fn comma_delimited_parsing() {
|
fn comma_delimited_parsing() {
|
||||||
let headers = vec![];
|
let headers = vec![];
|
||||||
let res: Vec<usize> = from_comma_delimited(headers.iter()).unwrap();
|
let res: Vec<usize> = from_comma_delimited(headers.iter()).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue