channels: tests

This commit is contained in:
Björn Linse
2017-06-10 15:25:23 +02:00
parent baa981ea21
commit 91b856ccce
4 changed files with 320 additions and 14 deletions

View File

@@ -262,6 +262,7 @@ describe('server -> client', function()
eq("done!",funcs.rpcrequest(jobid, "write_stderr", "fluff\n"))
eq({'notification', 'stderr', {0, {'fluff', ''}}}, next_message())
funcs.rpcrequest(jobid, "exit")
eq({'notification', 'stderr', {0, {''}}}, next_message())
eq({'notification', 'exit', {0, 0}}, next_message())
end)
end)