v/vlib/v/tests/thread_to_string_test.v

9 lines
112 B
V

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