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/editor | |
| 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/editor')
| -rw-r--r-- | test/functional/editor/K_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/completion_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/count_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/ctrl_c_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/fold_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/jump_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/lang_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/langmap_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/macro_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/mark_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/meta_key_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/mode_cmdline_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/mode_insert_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/mode_normal_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/put_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/search_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/tabpage_spec.lua | 2 | ||||
| -rw-r--r-- | test/functional/editor/undo_spec.lua | 2 |
18 files changed, 18 insertions, 18 deletions
diff --git a/test/functional/editor/K_spec.lua b/test/functional/editor/K_spec.lua index 9feb878378..91038e5f4e 100644 --- a/test/functional/editor/K_spec.lua +++ b/test/functional/editor/K_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local eq, clear, eval, feed, api, retry = t.eq, t.clear, t.eval, t.feed, t.api, t.retry describe('K', function() diff --git a/test/functional/editor/completion_spec.lua b/test/functional/editor/completion_spec.lua index 45cfb062ad..c479a9ccf1 100644 --- a/test/functional/editor/completion_spec.lua +++ b/test/functional/editor/completion_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 local clear, feed = t.clear, t.feed diff --git a/test/functional/editor/count_spec.lua b/test/functional/editor/count_spec.lua index 808460520b..6a3efcf515 100644 --- a/test/functional/editor/count_spec.lua +++ b/test/functional/editor/count_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 eval = t.eval diff --git a/test/functional/editor/ctrl_c_spec.lua b/test/functional/editor/ctrl_c_spec.lua index ff12f5db0d..b0160630d9 100644 --- a/test/functional/editor/ctrl_c_spec.lua +++ b/test/functional/editor/ctrl_c_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 clear, feed, source = t.clear, t.feed, t.source local command = t.command diff --git a/test/functional/editor/fold_spec.lua b/test/functional/editor/fold_spec.lua index e0c986f55f..336b97b15e 100644 --- a/test/functional/editor/fold_spec.lua +++ b/test/functional/editor/fold_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 insert = t.insert diff --git a/test/functional/editor/jump_spec.lua b/test/functional/editor/jump_spec.lua index ad064091d8..5911fcdbfb 100644 --- a/test/functional/editor/jump_spec.lua +++ b/test/functional/editor/jump_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 clear = t.clear diff --git a/test/functional/editor/lang_spec.lua b/test/functional/editor/lang_spec.lua index b7154a27f8..0e11a53999 100644 --- a/test/functional/editor/lang_spec.lua +++ b/test/functional/editor/lang_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local clear, insert, eq = t.clear, t.insert, t.eq local command, expect = t.command, t.expect local feed, eval = t.feed, t.eval diff --git a/test/functional/editor/langmap_spec.lua b/test/functional/editor/langmap_spec.lua index b569b70925..a17bbc4f16 100644 --- a/test/functional/editor/langmap_spec.lua +++ b/test/functional/editor/langmap_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local eq, neq, call = t.eq, t.neq, t.call local eval, feed, clear = t.eval, t.feed, t.clear diff --git a/test/functional/editor/macro_spec.lua b/test/functional/editor/macro_spec.lua index 86e7b8f3c8..3ccf1ea770 100644 --- a/test/functional/editor/macro_spec.lua +++ b/test/functional/editor/macro_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 eval = t.eval diff --git a/test/functional/editor/mark_spec.lua b/test/functional/editor/mark_spec.lua index ad45edd500..dfbf1e3e58 100644 --- a/test/functional/editor/mark_spec.lua +++ b/test/functional/editor/mark_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 api = t.api local clear = t.clear diff --git a/test/functional/editor/meta_key_spec.lua b/test/functional/editor/meta_key_spec.lua index 97acb3d090..0dc6884fac 100644 --- a/test/functional/editor/meta_key_spec.lua +++ b/test/functional/editor/meta_key_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local clear, feed, insert = t.clear, t.feed, t.insert local command = t.command local exec_lua = t.exec_lua diff --git a/test/functional/editor/mode_cmdline_spec.lua b/test/functional/editor/mode_cmdline_spec.lua index 6347c0f063..e52eb7aaba 100644 --- a/test/functional/editor/mode_cmdline_spec.lua +++ b/test/functional/editor/mode_cmdline_spec.lua @@ -1,6 +1,6 @@ -- Cmdline-mode tests. -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local Screen = require('test.functional.ui.screen') local clear, insert, fn, eq, feed = t.clear, t.insert, t.fn, t.eq, t.feed local eval = t.eval diff --git a/test/functional/editor/mode_insert_spec.lua b/test/functional/editor/mode_insert_spec.lua index 1323260257..aad92cb36a 100644 --- a/test/functional/editor/mode_insert_spec.lua +++ b/test/functional/editor/mode_insert_spec.lua @@ -1,6 +1,6 @@ -- Insert-mode tests. -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local Screen = require('test.functional.ui.screen') local clear, feed, insert = t.clear, t.feed, t.insert local expect = t.expect diff --git a/test/functional/editor/mode_normal_spec.lua b/test/functional/editor/mode_normal_spec.lua index fcc13782e5..8790cbe8a8 100644 --- a/test/functional/editor/mode_normal_spec.lua +++ b/test/functional/editor/mode_normal_spec.lua @@ -1,6 +1,6 @@ -- Normal mode tests. -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local clear = t.clear local feed = t.feed local fn = t.fn diff --git a/test/functional/editor/put_spec.lua b/test/functional/editor/put_spec.lua index 96a1d87b8b..85580498b7 100644 --- a/test/functional/editor/put_spec.lua +++ b/test/functional/editor/put_spec.lua @@ -1,5 +1,5 @@ local Screen = require('test.functional.ui.screen') -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local clear = t.clear local insert = t.insert diff --git a/test/functional/editor/search_spec.lua b/test/functional/editor/search_spec.lua index 2ccbcc8865..c8c7c688f6 100644 --- a/test/functional/editor/search_spec.lua +++ b/test/functional/editor/search_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/editor/tabpage_spec.lua b/test/functional/editor/tabpage_spec.lua index e77e30f9e0..4b880e21bf 100644 --- a/test/functional/editor/tabpage_spec.lua +++ b/test/functional/editor/tabpage_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 clear = t.clear diff --git a/test/functional/editor/undo_spec.lua b/test/functional/editor/undo_spec.lua index f6dd07054b..70ed5b6756 100644 --- a/test/functional/editor/undo_spec.lua +++ b/test/functional/editor/undo_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 |