mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
@ -11,8 +11,7 @@ const (
|
||||
name: 'special-7'
|
||||
value: ','
|
||||
raw: 'special-8=","'
|
||||
},
|
||||
]
|
||||
}]
|
||||
}
|
||||
// (bradfitz): users have reported seeing this in the
|
||||
// wild, but do browsers handle it? RFC 6265 just says "don't
|
||||
|
@ -11,8 +11,7 @@ fn wrapping_tests() {
|
||||
my_arr := ['Lorem ipsum dolor sit amet, consectetur adipiscing',
|
||||
'elit. Donec varius purus leo, vel maximus diam',
|
||||
'finibus sed. Etiam eu urna ante. Nunc quis vehicula',
|
||||
'velit. Sed at mauris et quam ornare tristique.',
|
||||
]
|
||||
'velit. Sed at mauris et quam ornare tristique.']
|
||||
}
|
||||
|
||||
fn array_init_without_commas() {
|
||||
|
6
vlib/v/fmt/tests/if_array_contains_expected.vv
Normal file
6
vlib/v/fmt/tests/if_array_contains_expected.vv
Normal file
@ -0,0 +1,6 @@
|
||||
fn main() {
|
||||
if ['aaaaaaaaaaaaaaaaaaa', 'bbbbbbbbbbbbbbbbbbbbbbb', 'ccccccccccccccccccccccccc',
|
||||
'dddddddddddddddddddddd'].contains('foo')
|
||||
{
|
||||
}
|
||||
}
|
3
vlib/v/fmt/tests/if_array_contains_input.vv
Normal file
3
vlib/v/fmt/tests/if_array_contains_input.vv
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
if ['aaaaaaaaaaaaaaaaaaa','bbbbbbbbbbbbbbbbbbbbbbb','ccccccccccccccccccccccccc','dddddddddddddddddddddd'].contains('foo'){}
|
||||
}
|
Reference in New Issue
Block a user