From 1d5da080221b4d9417785ba74ce2643155a32ff1 Mon Sep 17 00:00:00 2001 From: Swastik Date: Sun, 14 Apr 2024 13:56:01 +0530 Subject: [PATCH] update test --- vlib/v/checker/tests/map_result_callback_fn_err.out | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vlib/v/checker/tests/map_result_callback_fn_err.out b/vlib/v/checker/tests/map_result_callback_fn_err.out index 3754b49bcfd2b6..d15591c819d350 100644 --- a/vlib/v/checker/tests/map_result_callback_fn_err.out +++ b/vlib/v/checker/tests/map_result_callback_fn_err.out @@ -1,10 +1,3 @@ -vlib/v/checker/tests/map_result_callback_fn_err.vv:14:53: error: cannot use Result type in `map` calls without unwrapping or using an or block - 12 | - 13 | fn execsync(cmd cli.Command) ! { - 14 | dens := os.read_lines('/etc/fox/dens')!.map(urllib.parse(it)!) - | ~~~~~~~~~ - 15 | mut threads := []thread !{} - 16 | for den in dens { vlib/v/checker/tests/map_result_callback_fn_err.vv:19:17: error: cannot use Result type in `map` 17 | threads << spawn update(den) 18 | }