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

@ -18,7 +18,6 @@ const (
'vlib/v/tests/type_test.v', 'vlib/v/tests/type_test.v',
'vlib/v/tests/valgrind/valgrind_test.v', // ubuntu-musl only 'vlib/v/tests/valgrind/valgrind_test.v', // ubuntu-musl only
'vlib/v/tests/pointers_str_test.v', 'vlib/v/tests/pointers_str_test.v',
'vlib/net/http/cookie_test.v',
'vlib/clipboard/clipboard_test.v', 'vlib/clipboard/clipboard_test.v',
'vlib/sqlite/sqlite_test.v', 'vlib/sqlite/sqlite_test.v',

View File

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