1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/tests/thread_to_string_test.v
2022-11-05 10:46:40 +03:00

9 lines
115 B
V

fn ret_ten() int {
return 10
}
fn test_thread_str() {
th := spawn ret_ten()
assert th.str() == 'thread(int)'
}