aboutsummaryrefslogtreecommitdiff
path: root/testes/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/api.lua')
-rw-r--r--testes/api.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/testes/api.lua b/testes/api.lua
index 6f35e132..b4d63866 100644
--- a/testes/api.lua
+++ b/testes/api.lua
@@ -111,6 +111,20 @@ do -- testing 'rotate'
111 tcheck(t, {10, 20, 30, 40}) 111 tcheck(t, {10, 20, 30, 40})
112end 112end
113 113
114
115-- testing warnings
116T.testC([[
117 warning "*This "
118 warning "warning "
119 warning "should be in a"
120 warning " single line
121"
122 warning "*This should be "
123 warning "another warning
124"
125]])
126
127
114-- testing message handlers 128-- testing message handlers
115do 129do
116 local f = T.makeCfunc[[ 130 local f = T.makeCfunc[[