diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-07-23 14:16:43 +0200 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-23 14:16:43 +0200 | 
| commit | 6ab3e8a73920e3d2e02e57f7dd3a1f3d8e54ee63 (patch) | |
| tree | 31d69d1a4e3618ff969d21ff9076f81923e92fb6 /tests | |
| parent | 48320e5f882a911707c56baf3865f663acb39f08 (diff) | |
chore: bump plugins version (#2723)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lvim/helpers.lua | 18 | 
1 files changed, 8 insertions, 10 deletions
| diff --git a/tests/lvim/helpers.lua b/tests/lvim/helpers.lua index 2d8477de..0ce1a57b 100644 --- a/tests/lvim/helpers.lua +++ b/tests/lvim/helpers.lua @@ -3,16 +3,14 @@ local M = {}  function M.search_file(file, args)    local Job = require "plenary.job"    local stderr = {} -  local stdout, ret = Job -    :new({ -      command = "grep", -      args = { args, file }, -      cwd = get_cache_dir(), -      on_stderr = function(_, data) -        table.insert(stderr, data) -      end, -    }) -    :sync() +  local stdout, ret = Job:new({ +    command = "grep", +    args = { args, file }, +    cwd = get_cache_dir(), +    on_stderr = function(_, data) +      table.insert(stderr, data) +    end, +  }):sync()    return ret, stdout, stderr  end | 
