aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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"