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

sort: handle .sort(a.field > b.field)

This commit is contained in:
Alexander Medvednikov
2020-08-12 06:11:40 +02:00
parent 4bc0dde413
commit e5e31f7210
7 changed files with 55 additions and 14 deletions

View File

@ -56,7 +56,7 @@ fn flag_should_be_set(cmd cli.Command) ? {
flag := cmd.flags.get_string('flag')?
assert flag == 'value'
}
fn test_if_flag_gets_set() {
mut cmd := cli.Command{
name: 'command'