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:
parent
02acb8433c
commit
bf00e9bdb8
@ -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')
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user