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

tests: fix vlib/v/fmt/tests/*_expected.vv files too

This commit is contained in:
Delyan Angelov 2022-11-05 11:30:49 +02:00
parent 02acb8433c
commit bf00e9bdb8
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ fn my_thread_with_params(s string) {
} }
fn my_fn_calling_threads() { fn my_fn_calling_threads() {
go my_thread() spawn my_thread()
go my_thread_with_params('yay') spawn my_thread_with_params('yay')
go my_thread_with_params('nono') spawn my_thread_with_params('nono')
} }

View File

@ -60,7 +60,7 @@ fn test_shared_lock() {
a: read_threads a: read_threads
} }
for _ in 0 .. read_threads { for _ in 0 .. read_threads {
go x.f(shared z) spawn x.f(shared z)
} }
for i in 0 .. writes { for i in 0 .. writes {
lock x { // wait for ongoing reads to finish, don't start new ones lock x { // wait for ongoing reads to finish, don't start new ones