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:
parent
3e68e429b6
commit
19d7553d67
@ -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',
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user