diff options
Diffstat (limited to 'tests/errhangtest.lua')
-rw-r--r-- | tests/errhangtest.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errhangtest.lua b/tests/errhangtest.lua index 5974005..a541aad 100644 --- a/tests/errhangtest.lua +++ b/tests/errhangtest.lua | |||
@@ -9,6 +9,6 @@ local coro = coroutine.create(function() end) | |||
9 | -- however, this should raise an error, not hang the program... | 9 | -- however, this should raise an error, not hang the program... |
10 | print( pcall(linda.send,linda, 'test', "oh boy")) | 10 | print( pcall(linda.send,linda, 'test', "oh boy")) |
11 | print( pcall(linda.send,linda, 'test', coro)) | 11 | print( pcall(linda.send,linda, 'test', coro)) |
12 | res = linda:receive('test') | 12 | k,res = linda:receive('test') |
13 | print( res) | 13 | print( res) |
14 | -- linda:send( 'test', coro) | 14 | -- linda:send( 'test', coro) |