Skip to content

Commit 3848ca5

Browse files
committed
FIXUP: minor style fixes in the test
1 parent a161825 commit 3848ca5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/mysql.test.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ end
519519
local function test_ffi_null_printing(test, pool)
520520
test:plan(4)
521521
local function json_result(keep_null, prepared)
522-
local conn, err = mysql.connect({ host = host, port = port, user = user,
522+
local conn, err = mysql.connect({host = host, port = port, user = user,
523523
password = password, db = db, keep_null = keep_null})
524524
if conn == nil then error(err) end
525525
local rows
@@ -537,7 +537,6 @@ local function test_ffi_null_printing(test, pool)
537537
res = json_result(true, false)
538538
test:ok(res == '[[{"x":null,"w":1}]]', 'execute keep_null enabled')
539539
res = json_result(false, false)
540-
541540
test:ok(res == '[[{"w":1}]]', 'execute keep_null disabled')
542541
end
543542

0 commit comments

Comments
 (0)