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

cli: run v fmt (#7440)

This commit is contained in:
zakuro
2020-12-22 04:23:40 +09:00
committed by GitHub
parent 304aafdc50
commit 805ec8e177
4 changed files with 42 additions and 108 deletions

View File

@@ -106,9 +106,7 @@ fn test_if_multiple_flags_get_set() {
}
fn flag_is_set_in_subcommand(cmd cli.Command) ? {
flag := cmd.flags.get_string('flag') or {
panic(err)
}
flag := cmd.flags.get_string('flag') or { panic(err) }
assert flag == 'value'
}