From f125d90796a7394760e98380255117952bcb0109 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 29 May 2024 15:05:19 +0200 Subject: Fix bad std::optional usage --- 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 79d5760..5c4f1b1 100644 --- a/tests/nameof.lua +++ b/tests/nameof.lua @@ -1,4 +1,4 @@ -local lanes = require "lanes".configure() +local lanes = require "lanes".configure{on_state_create = function() end} print("Name of table: ", lanes.nameof({})) print("Name of string.sub: ", lanes.nameof(string.sub)) @@ -22,4 +22,4 @@ h:cancel("line", 1) lanes.sleep(0.1) print("Name of lane: ", lanes.nameof(h), "("..h.status..")") assert(h.status == "cancelled") -print "TEST OK" \ No newline at end of file +print "TEST OK" -- cgit v1.2.3-55-g6feb