CLEANUP: fix typos in reg-tests
Fix typos in comments and error messages of reg-tests. Note that this
has not been qualified as minor as it is used for testing purposes, not
end-users.
diff --git a/reg-tests/lua/b00002.lua b/reg-tests/lua/b00002.lua
index 41e5eee..dd5623c 100644
--- a/reg-tests/lua/b00002.lua
+++ b/reg-tests/lua/b00002.lua
@@ -106,7 +106,7 @@
repeat
local d = socket:receive(res.contentlength)
if d == nil then
--- core.Info("luacurl, ERROR?: recieved NIL, expecting "..res.contentlength.." bytes only got "..string.len(res.body).." sofar")
+-- core.Info("luacurl, ERROR?: received NIL, expecting "..res.contentlength.." bytes only got "..string.len(res.body).." sofar")
return
else
res.body = res.body..d
@@ -116,7 +116,7 @@
break
end
end
--- core.Info("processhttpresponse, Loopy, get more body data! to recieve complete contentlenght")
+-- core.Info("processhttpresponse, Loopy, get more body data! to receive complete contentlenght")
until false
end
if res.headers["Transfer-Encoding"] ~= nil and res.headers["Transfer-Encoding"] == "chunked" then