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/benchmark | |
| 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/benchmark')
| -rw-r--r-- | test/benchmark/autocmd_spec.lua | 2 | ||||
| -rw-r--r-- | test/benchmark/bench_regexp_spec.lua | 2 | ||||
| -rw-r--r-- | test/benchmark/screenpos_spec.lua | 2 | ||||
| -rw-r--r-- | test/benchmark/treesitter_spec.lua | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/benchmark/autocmd_spec.lua b/test/benchmark/autocmd_spec.lua index 0d0d37690f..19660723e0 100644 --- a/test/benchmark/autocmd_spec.lua +++ b/test/benchmark/autocmd_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 exec_lua = t.exec_lua diff --git a/test/benchmark/bench_regexp_spec.lua b/test/benchmark/bench_regexp_spec.lua index 9c0b86b6b5..4a2d01130a 100644 --- a/test/benchmark/bench_regexp_spec.lua +++ b/test/benchmark/bench_regexp_spec.lua @@ -1,6 +1,6 @@ -- Test for benchmarking the RE engine. -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local insert, source = t.insert, t.source local clear, command = t.clear, t.command diff --git a/test/benchmark/screenpos_spec.lua b/test/benchmark/screenpos_spec.lua index bd6860f313..a05c8909f5 100644 --- a/test/benchmark/screenpos_spec.lua +++ b/test/benchmark/screenpos_spec.lua @@ -1,4 +1,4 @@ -local t = require('test.functional.testutil')(after_each) +local t = require('test.functional.testutil')() local api = t.api local Screen = require('test.functional.ui.screen') diff --git a/test/benchmark/treesitter_spec.lua b/test/benchmark/treesitter_spec.lua index 18b9241081..74c2e9ec8e 100644 --- a/test/benchmark/treesitter_spec.lua +++ b/test/benchmark/treesitter_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 exec_lua = t.exec_lua |