diff options
Diffstat (limited to 'tests/tobeclosed.lua')
-rw-r--r-- | tests/tobeclosed.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tobeclosed.lua b/tests/tobeclosed.lua index 5ac8ab7..7a5e3ae 100644 --- a/tests/tobeclosed.lua +++ b/tests/tobeclosed.lua | |||
@@ -83,6 +83,7 @@ do | |||
83 | local lane_body = function() | 83 | local lane_body = function() |
84 | WR "In lane body" | 84 | WR "In lane body" |
85 | lanes.sleep(1) | 85 | lanes.sleep(1) |
86 | return "success" | ||
86 | end | 87 | end |
87 | 88 | ||
88 | local h = lanes.gen("*", lane_body)() | 89 | local h = lanes.gen("*", lane_body)() |
@@ -90,6 +91,7 @@ do | |||
90 | local tobeclosed <close> = h | 91 | local tobeclosed <close> = h |
91 | end | 92 | end |
92 | assert(h.status == "done") | 93 | assert(h.status == "done") |
94 | return "success" | ||
93 | end | 95 | end |
94 | 96 | ||
95 | -- ################################################################################################# | 97 | -- ################################################################################################# |