Skip to content

Commit

Permalink
I'm sorry luasocket, it was all my fault!
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart van Strien committed Oct 23, 2011
1 parent 056bb0c commit fd63b94
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions LUBE/tests/tests.lua
Expand Up @@ -393,12 +393,11 @@ ImplTest("Tcp client send", function()
local c = serv:accept()
c:receive()

client:send("hellothere\n")
client:send("hellothere")

local msg = c:receive()
local msg = c:receive(10)
log("Message: " .. msg)
assert(msg == "hellothere\n", "Weird luasocket thing, unsolved bug") --so.. what goes wrong here?
--it's something odd with luasocket
assert(msg == "hellothere")
end)

ImplTest("Udp client send", function()
Expand Down

0 comments on commit fd63b94

Please sign in to comment.