From 723476a90cccc611f9c80f812f0b96541fab326e Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 5 Mar 2025 10:34:27 +0100 Subject: lanes.nameof internal code refacto + a few unit tests --- tests/nameof.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/nameof.lua b/tests/nameof.lua index f48a971..1abcf3d 100644 --- a/tests/nameof.lua +++ b/tests/nameof.lua @@ -1,8 +1,8 @@ local lanes = require "lanes".configure{nb_user_keepers = 100, on_state_create = function() end} local SLEEP = function(...) - local k, v = lanes.sleep(...) - assert(k == nil and v == "timeout") + local k, v = lanes.sleep(...) + assert(k == nil and v == "timeout") end print("Name of table: ", lanes.nameof({})) -- cgit v1.2.3-55-g6feb