diff --git a/vlib/v/fmt/tests/go_stmt_expected.vv b/vlib/v/fmt/tests/go_stmt_expected.vv index 5e26722ec9..35c914f0de 100644 --- a/vlib/v/fmt/tests/go_stmt_expected.vv +++ b/vlib/v/fmt/tests/go_stmt_expected.vv @@ -7,8 +7,8 @@ fn my_thread_with_params(s string) { } fn my_fn_calling_threads() { - go my_thread() - go my_thread_with_params('yay') + spawn my_thread() + spawn my_thread_with_params('yay') - go my_thread_with_params('nono') + spawn my_thread_with_params('nono') } diff --git a/vlib/v/fmt/tests/shared_expected.vv b/vlib/v/fmt/tests/shared_expected.vv index 13f76126a6..23332f078b 100644 --- a/vlib/v/fmt/tests/shared_expected.vv +++ b/vlib/v/fmt/tests/shared_expected.vv @@ -60,7 +60,7 @@ fn test_shared_lock() { a: read_threads } for _ in 0 .. read_threads { - go x.f(shared z) + spawn x.f(shared z) } for i in 0 .. writes { lock x { // wait for ongoing reads to finish, don't start new ones