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
2021-07-17 11:19:28 +03:00

9 lines
112 B
V

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