Files
herolib/libarchive/baobab/generator/templates/actor_test.v.template
2025-08-29 09:48:13 +02:00

10 lines
188 B
Plaintext

const test_port = 8101
pub fn test_new() ! {
new() or { return error('Failed to create actor:\n@{dollar}{err}') }
}
pub fn test_actor_run() ! {
mut actor := new()!
spawn actor.run()
}