Commit Diff


commit - ca94a31aec8bcc653fe43adfec02ec6852a25994
commit + 058bc3ccca0e1d6482ff018285b8d2bb9e163e21
blob - eb7fd452267fa6a033b4e08065d235f6b9adc954
blob + 646d80ba1d9a7ae1529ade58710e940cced9016d
--- test/app-luatest/http_client_test.lua
+++ test/app-luatest/http_client_test.lua
@@ -24,8 +24,8 @@ local function merge(...)
 end
 
 local function start_server(sock_family)
-    if not sock_family == 'AF_INET' and
-       not sock_family == 'AF_UNIX' then
+    if sock_family ~= 'AF_INET' and
+       sock_family ~= 'AF_UNIX' then
         error(string.format('invalid socket family: %s', sock_family))
     end
     local url