diff --git a/lib/init.spec.lua b/lib/init.spec.lua index ed333b6..85a4691 100644 --- a/lib/init.spec.lua +++ b/lib/init.spec.lua @@ -9,7 +9,7 @@ return function() assert(t.type("table")({})) assert(t.type("userdata")(newproxy())) assert(t.type("function")(function() end)) - assert(t.type("thread")(coroutine.running())) + assert(t.type("thread")(coroutine.create(nction() end))) assert(not t.type("nil")(true)) assert(not t.type("boolean")("true"))