1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: fix vlib/net/http/cookie_test.v

This commit is contained in:
Delyan Angelov
2020-04-25 22:53:11 +03:00
parent 3e68e429b6
commit 19d7553d67
2 changed files with 2 additions and 6 deletions

View File

@ -415,13 +415,10 @@ fn is_cookie_name_valid(name string) bool {
if name == '' {
return false
}
// TODO
/*
for b in name.bytes() {
if !(b in arrays.range<byte>(33, 126)) {
for b in name {
if b < 33 || b > 126 {
return false
}
}
*/
return true
}