Skip to content

Commit 78296bf

Browse files
L3MON4D3github-actions[bot]
authored andcommitted
Format with stylua
1 parent 5361676 commit 78296bf

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

tests/helpers.lua

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,25 @@ function M.scratch_mkdir(scratch_rel)
375375
os.execute(('mkdir -p "%s/%s"'):format(scratchdir_path, scratch_rel))
376376
end
377377
function M.scratch_mv(scratch_from, scratch_to)
378-
os.execute(('mv "%s/%s" "%s/%s"'):format(scratchdir_path, scratch_from, scratchdir_path, scratch_to))
378+
os.execute(
379+
('mv "%s/%s" "%s/%s"'):format(
380+
scratchdir_path,
381+
scratch_from,
382+
scratchdir_path,
383+
scratch_to
384+
)
385+
)
379386
end
380387
-- mv -T
381388
function M.scratch_mv_T(scratch_from, scratch_to)
382-
os.execute(('mv -T "%s/%s" "%s/%s"'):format(scratchdir_path, scratch_from, scratchdir_path, scratch_to))
389+
os.execute(
390+
('mv -T "%s/%s" "%s/%s"'):format(
391+
scratchdir_path,
392+
scratch_from,
393+
scratchdir_path,
394+
scratch_to
395+
)
396+
)
383397
end
384398
function M.scratch_touch(scratch_rel)
385399
os.execute(('touch "%s/%s"'):format(scratchdir_path, scratch_rel))

tests/unit/fswatcher_spec.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ describe("fs_events", function()
261261
["a/a"] = 1,
262262
["a/b"] = 1,
263263
["a/c/e"] = 1,
264-
["a/d/e"] = 1
265-
}
264+
["a/d/e"] = 1,
265+
},
266266
}, exec_lua([[return {changed, seen}]]))
267267
end)
268268

0 commit comments

Comments
 (0)