diff options
Diffstat (limited to 'unit_tests/lane_tests.cpp')
-rw-r--r-- | unit_tests/lane_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_tests/lane_tests.cpp b/unit_tests/lane_tests.cpp index bf239ba..0c4feba 100644 --- a/unit_tests/lane_tests.cpp +++ b/unit_tests/lane_tests.cpp | |||
@@ -80,7 +80,7 @@ TEST_CASE("lanes.sleep.interactions with timers") | |||
80 | " local l = lanes.linda()" | 80 | " local l = lanes.linda()" |
81 | " lanes.timer(l, 'gluh', 0.1, 0.1)" | 81 | " lanes.timer(l, 'gluh', 0.1, 0.1)" |
82 | // launch a lane that is supposed to sleep forever | 82 | // launch a lane that is supposed to sleep forever |
83 | " local g = lanes.gen('*', lanes.sleep)" | 83 | " local g = lanes.gen('*', { name = 'auto' }, lanes.sleep)" |
84 | " local h = g('indefinitely')" | 84 | " local h = g('indefinitely')" |
85 | // sleep 1 second (this uses the timer linda) | 85 | // sleep 1 second (this uses the timer linda) |
86 | " lanes.sleep(1)" | 86 | " lanes.sleep(1)" |