diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2024-04-09 12:26:16 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2024-04-10 15:53:50 +0100 |
| commit | 81fc27124b9e1b375e0ce9605ae69c3c2a2d9222 (patch) | |
| tree | 31a5626cd48b358a53756636a6f813acac41ef06 /test/functional/core | |
| parent | 889f81c65fa4318ab0fba391904dc43e5633b13e (diff) | |
| download | rneovim-81fc27124b9e1b375e0ce9605ae69c3c2a2d9222.tar.gz rneovim-81fc27124b9e1b375e0ce9605ae69c3c2a2d9222.tar.bz2 rneovim-81fc27124b9e1b375e0ce9605ae69c3c2a2d9222.zip | |
refactor(test): inject after_each differently
Diffstat (limited to 'test/functional/core')
| -rw-r--r-- | test/functional/core/channels_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/exit_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/fileio_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/job_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/log_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/main_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/path_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/remote_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/spellfile_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/core/startup_spec.lua | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/test/functional/core/channels_spec.lua b/test/functional/core/channels_spec.lua index 24a295093a..84a7bf6ddc 100644 --- a/test/functional/core/channels_spec.lua +++ b/test/functional/core/channels_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local clear, eq, eval, next_msg, ok, source = t.clear, t.eq, t.eval, t.next_msg, t.ok, t.source local command, fn, api = t.command, t.fn, t.api local matches = t.matches diff --git a/test/functional/core/exit_spec.lua b/test/functional/core/exit_spec.lua index 058d67dba1..0e7ddf8bd1 100644 --- a/test/functional/core/exit_spec.lua +++ b/test/functional/core/exit_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local assert_alive = t.assert_alive local command = t.command diff --git a/test/functional/core/fileio_spec.lua b/test/functional/core/fileio_spec.lua index 4b1018b0f0..04d745a6c3 100644 --- a/test/functional/core/fileio_spec.lua +++ b/test/functional/core/fileio_spec.lua @@ -1,5 +1,5 @@ local uv = vim.uv -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local assert_log = t.assert_log local assert_nolog = t.assert_nolog diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index 17264d80a5..f8144e9c05 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local tt = require('test.functional.terminal.testutil') local clear = t.clear diff --git a/test/functional/core/log_spec.lua b/test/functional/core/log_spec.lua index dfacc0af6e..dd08d81342 100644 --- a/test/functional/core/log_spec.lua +++ b/test/functional/core/log_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local assert_log = t.assert_log local clear = t.clear local command = t.command diff --git a/test/functional/core/main_spec.lua b/test/functional/core/main_spec.lua index ee3e32d794..a318fdec3c 100644 --- a/test/functional/core/main_spec.lua +++ b/test/functional/core/main_spec.lua @@ -1,5 +1,5 @@ local uv = vim.uv -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local Screen = require('test.functional.ui.screen') local eq = t.eq diff --git a/test/functional/core/path_spec.lua b/test/functional/core/path_spec.lua index 65eaa201d9..92fcde978b 100644 --- a/test/functional/core/path_spec.lua +++ b/test/functional/core/path_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local clear = t.clear local command = t.command local eq = t.eq diff --git a/test/functional/core/remote_spec.lua b/test/functional/core/remote_spec.lua index 5c8a86091d..0b110a3538 100644 --- a/test/functional/core/remote_spec.lua +++ b/test/functional/core/remote_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local clear = t.clear local command = t.command diff --git a/test/functional/core/spellfile_spec.lua b/test/functional/core/spellfile_spec.lua index ac3f1b27a6..814df522cf 100644 --- a/test/functional/core/spellfile_spec.lua +++ b/test/functional/core/spellfile_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local eq = t.eq local clear = t.clear diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua index 31e4805d76..e98b1bdd87 100644 --- a/test/functional/core/startup_spec.lua +++ b/test/functional/core/startup_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local Screen = require('test.functional.ui.screen') local assert_alive = t.assert_alive |