diff options
Diffstat (limited to 'test/functional/ex_cmds/trust_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/trust_spec.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/trust_spec.lua b/test/functional/ex_cmds/trust_spec.lua index fe13bd7cd2..953b25ba35 100644 --- a/test/functional/ex_cmds/trust_spec.lua +++ b/test/functional/ex_cmds/trust_spec.lua @@ -22,7 +22,7 @@ describe(':trust', function() before_each(function() helpers.write_file('test_file', 'test') - clear{env={XDG_STATE_HOME=xstate}} + clear { env = { XDG_STATE_HOME = xstate } } end) after_each(function() @@ -72,7 +72,10 @@ describe(':trust', function() local trust = helpers.read_file(funcs.stdpath('state') .. pathsep .. 'trust') eq(string.format('! %s', cwd .. pathsep .. 'test_file'), vim.trim(trust)) - matches('^Removed ".*test_file" from trust database%.$', exec_capture('trust ++remove test_file')) + matches( + '^Removed ".*test_file" from trust database%.$', + exec_capture('trust ++remove test_file') + ) trust = helpers.read_file(funcs.stdpath('state') .. pathsep .. 'trust') eq(string.format(''), vim.trim(trust)) end) |