diff --git a/tests/helpers.lua b/tests/helpers.lua index 0a675be58..85ecedfe1 100644 --- a/tests/helpers.lua +++ b/tests/helpers.lua @@ -375,11 +375,25 @@ function M.scratch_mkdir(scratch_rel) os.execute(('mkdir -p "%s/%s"'):format(scratchdir_path, scratch_rel)) end function M.scratch_mv(scratch_from, scratch_to) - os.execute(('mv "%s/%s" "%s/%s"'):format(scratchdir_path, scratch_from, scratchdir_path, scratch_to)) + os.execute( + ('mv "%s/%s" "%s/%s"'):format( + scratchdir_path, + scratch_from, + scratchdir_path, + scratch_to + ) + ) end -- mv -T function M.scratch_mv_T(scratch_from, scratch_to) - os.execute(('mv -T "%s/%s" "%s/%s"'):format(scratchdir_path, scratch_from, scratchdir_path, scratch_to)) + os.execute( + ('mv -T "%s/%s" "%s/%s"'):format( + scratchdir_path, + scratch_from, + scratchdir_path, + scratch_to + ) + ) end function M.scratch_touch(scratch_rel) os.execute(('touch "%s/%s"'):format(scratchdir_path, scratch_rel)) diff --git a/tests/unit/fswatcher_spec.lua b/tests/unit/fswatcher_spec.lua index fe68aef23..a6654e8a5 100644 --- a/tests/unit/fswatcher_spec.lua +++ b/tests/unit/fswatcher_spec.lua @@ -261,8 +261,8 @@ describe("fs_events", function() ["a/a"] = 1, ["a/b"] = 1, ["a/c/e"] = 1, - ["a/d/e"] = 1 - } + ["a/d/e"] = 1, + }, }, exec_lua([[return {changed, seen}]])) end)