diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/nameof.lua | 4 |
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 @@ | |||
1 | local lanes = require "lanes".configure() | 1 | local lanes = require "lanes".configure{on_state_create = function() end} |
2 | 2 | ||
3 | print("Name of table: ", lanes.nameof({})) | 3 | print("Name of table: ", lanes.nameof({})) |
4 | print("Name of string.sub: ", lanes.nameof(string.sub)) | 4 | print("Name of string.sub: ", lanes.nameof(string.sub)) |
@@ -22,4 +22,4 @@ h:cancel("line", 1) | |||
22 | lanes.sleep(0.1) | 22 | lanes.sleep(0.1) |
23 | print("Name of lane: ", lanes.nameof(h), "("..h.status..")") | 23 | print("Name of lane: ", lanes.nameof(h), "("..h.status..")") |
24 | assert(h.status == "cancelled") | 24 | assert(h.status == "cancelled") |
25 | print "TEST OK" \ No newline at end of file | 25 | print "TEST OK" |