mirror of
https://github.com/neovim/neovim.git
synced 2026-01-03 01:46:31 +10:00
refactor(test): inject after_each differently
This commit is contained in:
committed by
Lewis Russell
parent
889f81c65f
commit
81fc27124b
@@ -1,6 +1,6 @@
|
||||
-- Test clipboard provider support
|
||||
|
||||
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 feed_command, expect, eq, eval, source = t.feed_command, t.expect, t.eq, t.eval, t.source
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local eval, command = t.eval, t.command
|
||||
local eq, run, stop = t.eq, t.run, t.stop
|
||||
local clear = t.clear
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local eq, clear = t.eq, t.clear
|
||||
local missing_provider = t.missing_provider
|
||||
local command = t.command
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local eq, clear = t.eq, t.clear
|
||||
local missing_provider = t.missing_provider
|
||||
local command = t.command
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, eval = t.clear, t.eval
|
||||
local command = t.command
|
||||
local eq = t.eq
|
||||
|
||||
@@ -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 eval, command, feed = t.eval, t.command, t.feed
|
||||
local eq, clear, insert = t.eq, t.clear, t.insert
|
||||
|
||||
@@ -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 clear = t.clear
|
||||
|
||||
Reference in New Issue
Block a user