mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
refactor(test): inject after_each differently
This commit is contained in:
parent
889f81c65f
commit
81fc27124b
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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')
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
local eq = t.eq
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear = t.clear
|
||||
local eq, ok = t.eq, t.ok
|
||||
local fn = t.fn
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local NIL = vim.NIL
|
||||
local clear = t.clear
|
||||
|
@ -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 request = t.request
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear = t.clear
|
||||
local Screen = require('test.functional.ui.screen')
|
||||
local eq, eval = t.eq, t.eval
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local clear = t.clear
|
||||
local eq = t.eq
|
||||
|
@ -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 eq, clear, eval, command, next_msg = t.eq, t.clear, t.eval, t.command, t.next_msg
|
||||
local api = t.api
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- Test server -> client RPC scenarios. Note: unlike `rpcnotify`, to evaluate
|
||||
-- `rpcrequest` calls we need the client event loop to be running.
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local clear, eval = t.clear, t.eval
|
||||
local eq, neq, run, stop = t.eq, t.neq, t.run, t.stop
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, eq, ok = t.clear, t.eq, t.ok
|
||||
local exec = t.exec
|
||||
local feed = t.feed
|
||||
|
@ -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
|
||||
local command = t.command
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, fn, eq = t.clear, t.fn, t.eq
|
||||
local api = t.api
|
||||
|
||||
|
@ -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 uv = vim.uv
|
||||
|
||||
|
@ -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, curbuf, curbuf_contents, curwin, eq, neq, matches, ok, feed, insert, eval =
|
||||
t.clear,
|
||||
|
@ -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
|
||||
|
@ -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_visible = t.assert_visible
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local clear = t.clear
|
||||
local eq = t.eq
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local clear = t.clear
|
||||
local eq = t.eq
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local clear = t.clear
|
||||
local eq = t.eq
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local eval = t.eval
|
||||
local clear = t.clear
|
||||
|
@ -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
|
||||
local feed_command = t.feed_command
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, eval, eq = t.clear, t.eval, t.eq
|
||||
local feed, command = t.feed, t.command
|
||||
local exec_lua = t.exec_lua
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local clear = t.clear
|
||||
local eq = t.eq
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear = t.clear
|
||||
local eq = t.eq
|
||||
local exec = t.exec
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, eq = t.clear, t.eq
|
||||
local api = t.api
|
||||
local command = t.command
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
local uv = vim.uv
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local tt = require('test.functional.terminal.testutil')
|
||||
|
||||
local clear, command, testprg = t.clear, t.command, t.testprg
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear = t.clear
|
||||
local exec = t.exec
|
||||
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, eq = t.clear, t.eval, t.eq
|
||||
local feed, command, expect = t.feed, t.command, t.expect
|
||||
local api, fn, neq = t.api, t.fn, t.neq
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local eq = t.eq
|
||||
local dedent = t.dedent
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local eq, command, fn = t.eq, t.command, t.fn
|
||||
local ok = t.ok
|
||||
local matches = t.matches
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- Specs for :cd, :tcd, :lcd and getcwd()
|
||||
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local eq = t.eq
|
||||
local call = t.call
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear = t.clear
|
||||
local feed = t.feed
|
||||
local eq = t.eq
|
||||
|
@ -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 feed = t.feed
|
||||
local clear = t.clear
|
||||
|
@ -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, source = t.clear, t.source
|
||||
local api = t.api
|
||||
|
@ -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 feed = t.feed
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local command = t.command
|
||||
local Screen = require('test.functional.ui.screen')
|
||||
local clear, feed, feed_command = t.clear, t.feed, t.feed_command
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local eq = t.eq
|
||||
local NIL = vim.NIL
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local eq, command, fn = t.eq, t.command, t.fn
|
||||
local ok = t.ok
|
||||
local matches = t.matches
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, feed_command, feed = t.clear, t.feed_command, t.feed
|
||||
local eq, neq, eval = t.eq, t.neq, t.eval
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local command = t.command
|
||||
local eq = t.eq
|
||||
local clear = t.clear
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, feed_command, feed, ok, eval = t.clear, t.feed_command, t.feed, t.ok, t.eval
|
||||
|
||||
describe(':grep', function()
|
||||
|
@ -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
|
||||
|
@ -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 eq, command = t.eq, t.command
|
||||
local clear = t.clear
|
||||
local eval, exc_exec = t.eval, t.exc_exec
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear = t.clear
|
||||
local eval = t.eval
|
||||
local has_powershell = t.has_powershell
|
||||
|
@ -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 eq = t.eq
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, command = t.clear, t.command
|
||||
local expect, feed = t.expect, t.feed
|
||||
local eq, eval = t.eq, t.eval
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 fn = t.fn
|
||||
|
@ -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 command = t.command
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear, eq, command, fn = t.clear, t.eq, t.command, t.fn
|
||||
|
||||
describe(':z^', function()
|
||||
|
@ -1,7 +1,7 @@
|
||||
require('os')
|
||||
local uv = vim.uv
|
||||
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local eval = t.eval
|
||||
local command = t.command
|
||||
local eq, neq = t.eq, t.neq
|
||||
|
@ -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 feed = t.feed
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
local clear = t.clear
|
||||
|
||||
describe(':qa', function()
|
||||
|
@ -1,4 +1,4 @@
|
||||
local t = require('test.functional.testutil')(after_each)
|
||||
local t = require('test.functional.testutil')()
|
||||
|
||||
local eq = t.eq
|
||||
local neq = t.neq
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user