Fix bad test reference to PENDING instead of pending

pull/96/head
Chip Senkbeil 3 years ago
parent cfa736bf99
commit 056f186726
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

@ -23,7 +23,7 @@ pub fn make_function<'a>(lua: &'a Lua, ctx: &'_ DistantServerCtx) -> LuaResult<L
// Block until the connection finishes
local session = nil
while status do
if status and res ~= distant.PENDING then
if status and res ~= distant.pending then
session = res
break
end

Loading…
Cancel
Save