Skip to content

Commit

Permalink
chore: format lua
Browse files Browse the repository at this point in the history
  • Loading branch information
diegonehab committed Oct 15, 2024
1 parent 3c374c7 commit 05e1d06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/lua/cmio-test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ end

local function connect()
local remote = protocol.connect(remote_address) -- server will be shutdown when remote is collected
local version = assert(remote.get_server_version(), "could not connect to remote cartesi machine at " .. remote_address)
local version =
assert(remote.get_server_version(), "could not connect to remote cartesi machine at " .. remote_address)
return remote, version
end

Expand Down
5 changes: 3 additions & 2 deletions tests/lua/machine-bind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,9 @@ if machine_type == "jsonrpc" then
end

local function connect()
local remote = protocol.connect(remote_address) -- server will be shutdown when remote is collected
local version = assert(remote.get_server_version(), "could not connect to remote cartesi machine at " .. remote_address)
local remote = protocol.connect(remote_address) -- server will be shutdown when remote is collected
local version =
assert(remote.get_server_version(), "could not connect to remote cartesi machine at " .. remote_address)
return remote, version
end

Expand Down
3 changes: 2 additions & 1 deletion tests/lua/machine-test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ end

local function connect()
local remote = protocol.connect(remote_address) -- server will be shutdown when connection is collected
local version = assert(remote.get_server_version(), "could not connect to remote cartesi machine at " .. remote_address)
local version =
assert(remote.get_server_version(), "could not connect to remote cartesi machine at " .. remote_address)
return remote, version
end

Expand Down

0 comments on commit 05e1d06

Please sign in to comment.