Forgot a few files.
This commit is contained in:
parent
197aef23ce
commit
2562738e2d
3 changed files with 17 additions and 0 deletions
6
test/excepttest.lua
Normal file
6
test/excepttest.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
local socket = require("socket")
|
||||
try = socket.newtry(function()
|
||||
print("finalized!!!")
|
||||
end)
|
||||
try = socket.protect(try)
|
||||
print(try(nil, "it works"))
|
Loading…
Add table
Add a link
Reference in a new issue