aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2016-02-24 00:48:43 +0100
committerPhilipp Janda <siffiejoe@gmx.net>2016-02-24 00:48:43 +0100
commit9fe38c654f6c62a4f11d993bd79c710af9313fbd (patch)
tree7c1aea50fa13a93d631c24555a705dcf3e3308be /test
parent9ffd96724da09352abe99c8525bbccb6bc34cb48 (diff)
downloadluasocket-9fe38c654f6c62a4f11d993bd79c710af9313fbd.tar.gz
luasocket-9fe38c654f6c62a4f11d993bd79c710af9313fbd.tar.bz2
luasocket-9fe38c654f6c62a4f11d993bd79c710af9313fbd.zip
Don't swallow errors in finalizers.
Diffstat (limited to 'test')
-rw-r--r--test/excepttest.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/excepttest.lua b/test/excepttest.lua
index 6904545..80c9cb8 100644
--- a/test/excepttest.lua
+++ b/test/excepttest.lua
@@ -5,7 +5,6 @@ local finalizer_called
5local func = socket.protect(function(err, ...) 5local func = socket.protect(function(err, ...)
6 local try = socket.newtry(function() 6 local try = socket.newtry(function()
7 finalizer_called = true 7 finalizer_called = true
8 error("ignored")
9 end) 8 end)
10 9
11 if err then 10 if err then