| 1 | // vtest retry: 3 |
| 2 | module main |
| 3 | |
| 4 | import test_utils { cmd_ok } |
| 5 | |
| 6 | fn testsuite_begin() { |
| 7 | $if !network ? { |
| 8 | eprintln('> skipping ${@FILE}, when `-d network` is missing') |
| 9 | exit(0) |
| 10 | } |
| 11 | unbuffer_stdout() |
| 12 | } |
| 13 | |
| 14 | fn test_search_ui() { |
| 15 | res := cmd_ok(@LOCATION, '${vexe} search ui') |
| 16 | dump(res) |
| 17 | assert res.output.contains('1. ui'), res.output |
| 18 | } |
| 19 |