Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Jan 19, 2020
1 parent f415da8 commit 3a1afba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/modules/socket/sched_tcp/file_client.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import("core.base.socket")
import("core.base.scheduler")
import("core.base.bytes")

function _session(addr, port)
print("connect %s:%d ..", addr, port)
Expand Down
1 change: 1 addition & 0 deletions tests/modules/socket/tcp/file_client.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import("core.base.socket")
import("core.base.bytes")

function main()
local addr = "127.0.0.1"
Expand Down
1 change: 1 addition & 0 deletions tests/modules/socket/unix_tcp/file_client.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import("core.base.socket")
import("core.base.bytes")

function main(addr)
addr = addr or path.join(os.tmpdir(), "file.socket")
Expand Down

0 comments on commit 3a1afba

Please sign in to comment.