mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
preludes,builder,cgen: add support for VTEST_RUNNER=tap and -test-runner tap (#12523)
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import rand
|
||||
|
||||
const (
|
||||
strings = unique_strings(20000, 10)
|
||||
)
|
||||
const strings = unique_strings(7000, 10)
|
||||
|
||||
fn unique_strings(arr_len int, str_len int) []string {
|
||||
mut arr := []string{cap: arr_len}
|
||||
@@ -448,7 +446,7 @@ fn test_map_in() {
|
||||
'Foo': 'bar'
|
||||
}
|
||||
if 'foo'.capitalize() in m {
|
||||
println('ok')
|
||||
assert true
|
||||
} else {
|
||||
assert false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user