test(headers): Add tests for headers with "*" value

This commit is contained in:
Pyfisch
2015-04-26 14:06:46 +02:00
parent efd6c96a3c
commit 18f717fcf1
4 changed files with 34 additions and 19 deletions

View File

@@ -15,6 +15,10 @@ header! {
#[doc="Vary = \"*\" / 1#field-name"]
#[doc="```"]
(Vary, "Vary") => {Any / (UniCase<String>)+}
test_vary {
test_header!(test1, vec![b"accept-encoding, accept-language"]);
}
}
#[cfg(test)]