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/shada | |
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/shada')
-rw-r--r-- | test/functional/shada/buffers_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/compatibility_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/errors_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/history_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/marks_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/merging_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/registers_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/shada_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/shada/variables_spec.lua | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/test/functional/shada/buffers_spec.lua b/test/functional/shada/buffers_spec.lua index dcc37d2f3d..ed918e37f4 100644 --- a/test/functional/shada/buffers_spec.lua +++ b/test/functional/shada/buffers_spec.lua @@ -1,5 +1,5 @@ -- shada buffer list saving/reading support -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local nvim_command, fn, eq, api = t.command, t.fn, t.eq, t.api local expect_exit = t.expect_exit diff --git a/test/functional/shada/compatibility_spec.lua b/test/functional/shada/compatibility_spec.lua index 943024f463..b7f6bfb0b4 100644 --- a/test/functional/shada/compatibility_spec.lua +++ b/test/functional/shada/compatibility_spec.lua @@ -1,5 +1,5 @@ -- ShaDa compatibility support -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local nvim_command, fn, eq = t.command, t.fn, t.eq local exc_exec = t.exc_exec diff --git a/test/functional/shada/errors_spec.lua b/test/functional/shada/errors_spec.lua index 1ad9eb70ea..736a6956af 100644 --- a/test/functional/shada/errors_spec.lua +++ b/test/functional/shada/errors_spec.lua @@ -1,5 +1,5 @@ -- ShaDa errors handling support -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local nvim_command, eq, exc_exec = t.command, t.eq, t.exc_exec local t_shada = require('test.functional.shada.testutil') diff --git a/test/functional/shada/history_spec.lua b/test/functional/shada/history_spec.lua index 9ebf18ccdf..521b7fb56f 100644 --- a/test/functional/shada/history_spec.lua +++ b/test/functional/shada/history_spec.lua @@ -1,5 +1,5 @@ -- ShaDa history saving/reading support -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local nvim_command, fn, api, nvim_feed, eq = t.command, t.fn, t.api, t.feed, t.eq local assert_alive = t.assert_alive local expect_exit = t.expect_exit diff --git a/test/functional/shada/marks_spec.lua b/test/functional/shada/marks_spec.lua index 7be6cc4d31..e6eefd4aed 100644 --- a/test/functional/shada/marks_spec.lua +++ b/test/functional/shada/marks_spec.lua @@ -1,5 +1,5 @@ -- ShaDa marks saving/reading support -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local api, nvim_command, fn, eq = t.api, t.command, t.fn, t.eq local feed = t.feed local exc_exec, exec_capture = t.exc_exec, t.exec_capture diff --git a/test/functional/shada/merging_spec.lua b/test/functional/shada/merging_spec.lua index 2ca481df07..57af4d5537 100644 --- a/test/functional/shada/merging_spec.lua +++ b/test/functional/shada/merging_spec.lua @@ -1,5 +1,5 @@ -- ShaDa merging data support -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local nvim_command, fn, eq = t.command, t.fn, t.eq local exc_exec, exec_capture = t.exc_exec, t.exec_capture local api = t.api diff --git a/test/functional/shada/registers_spec.lua b/test/functional/shada/registers_spec.lua index b8faf6012f..e6636e9ece 100644 --- a/test/functional/shada/registers_spec.lua +++ b/test/functional/shada/registers_spec.lua @@ -1,5 +1,5 @@ -- ShaDa registers saving/reading support -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local nvim_command, fn, eq = t.command, t.fn, t.eq local t_shada = require('test.functional.shada.testutil') diff --git a/test/functional/shada/shada_spec.lua b/test/functional/shada/shada_spec.lua index 938490aecb..8e677e2729 100644 --- a/test/functional/shada/shada_spec.lua +++ b/test/functional/shada/shada_spec.lua @@ -1,5 +1,5 @@ -- Other ShaDa tests -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local api, nvim_command, fn, eq = t.api, t.command, t.fn, t.eq local write_file, spawn, set_session, nvim_prog, exc_exec = t.write_file, t.spawn, t.set_session, t.nvim_prog, t.exc_exec diff --git a/test/functional/shada/variables_spec.lua b/test/functional/shada/variables_spec.lua index 9c97d6a98f..19916ea466 100644 --- a/test/functional/shada/variables_spec.lua +++ b/test/functional/shada/variables_spec.lua @@ -1,5 +1,5 @@ -- ShaDa variables saving/reading support -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local api, fn, nvim_command, eq, eval = t.api, t.fn, t.command, t.eq, t.eval local expect_exit = t.expect_exit |