aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-05-29 15:05:19 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-05-29 15:05:19 +0200
commitf125d90796a7394760e98380255117952bcb0109 (patch)
tree8a55aca136c8667112ee9484e11740d9ef126afc /tests
parent4007dbf5a2262a7c4f2f26089071942dde7c3a91 (diff)
downloadlanes-f125d90796a7394760e98380255117952bcb0109.tar.gz
lanes-f125d90796a7394760e98380255117952bcb0109.tar.bz2
lanes-f125d90796a7394760e98380255117952bcb0109.zip
Fix bad std::optional usage
Diffstat (limited to 'tests')
-rw-r--r--tests/nameof.lua4
1 files changed, 2 insertions, 2 deletions
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 @@
1local lanes = require "lanes".configure() 1local lanes = require "lanes".configure{on_state_create = function() end}
2 2
3print("Name of table: ", lanes.nameof({})) 3print("Name of table: ", lanes.nameof({}))
4print("Name of string.sub: ", lanes.nameof(string.sub)) 4print("Name of string.sub: ", lanes.nameof(string.sub))
@@ -22,4 +22,4 @@ h:cancel("line", 1)
22lanes.sleep(0.1) 22lanes.sleep(0.1)
23print("Name of lane: ", lanes.nameof(h), "("..h.status..")") 23print("Name of lane: ", lanes.nameof(h), "("..h.status..")")
24assert(h.status == "cancelled") 24assert(h.status == "cancelled")
25print "TEST OK" \ No newline at end of file 25print "TEST OK"