mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	functests: Fix linter errors
This commit is contained in:
		| @@ -1,10 +1,5 @@ | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
|  | ||||
| local clear = helpers.clear | ||||
| local command = helpers.command | ||||
| local eq = helpers.eq | ||||
| local eval = helpers.eval | ||||
|  | ||||
| local eq = helpers.eq | ||||
| local eval = helpers.eval | ||||
| local clear = helpers.clear | ||||
|   | ||||
| @@ -4,7 +4,6 @@ local clear = helpers.clear | ||||
| local command = helpers.command | ||||
| local eq = helpers.eq | ||||
| local eval = helpers.eval | ||||
| local command = helpers.command | ||||
| local request = helpers.request | ||||
| local source = helpers.source | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
| local clear, eval, eq = helpers.clear, helpers.eval, helpers.eq | ||||
| local feed, command, expect, command = helpers.feed, helpers.command, helpers.expect, helpers.command | ||||
| local feed, command, expect = helpers.feed, helpers.command, helpers.expect | ||||
| local curbufmeths, funcs, neq = helpers.curbufmeths, helpers.funcs, helpers.neq | ||||
|  | ||||
| describe('TextYankPost', function() | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
| local clear, command, nvim = helpers.clear, helpers.command, helpers.nvim | ||||
| local expect, feed, command = helpers.expect, helpers.feed, helpers.command | ||||
| local expect, feed = helpers.expect, helpers.feed | ||||
| local eq, eval = helpers.eq, helpers.eval | ||||
|  | ||||
| describe(':emenu', function() | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
| local lfs = require('lfs') | ||||
| local eq, eval, clear, write_file, command, source, insert = | ||||
| local eq, eval, clear, write_file, source, insert = | ||||
|   helpers.eq, helpers.eval, helpers.clear, helpers.write_file, | ||||
|   helpers.command, helpers.source, helpers.insert | ||||
|   helpers.source, helpers.insert | ||||
| local redir_exec = helpers.redir_exec | ||||
| local exc_exec = helpers.exc_exec | ||||
| local command = helpers.command | ||||
|   | ||||
| @@ -2,9 +2,8 @@ | ||||
|  | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
|  | ||||
| local insert, command, clear, expect, eq, eval, wait = helpers.insert, | ||||
|   helpers.command, helpers.clear, helpers.expect, helpers.eq, helpers.eval, | ||||
|   helpers.wait | ||||
| local insert, command, clear, expect, eq, wait = helpers.insert, | ||||
|   helpers.command, helpers.clear, helpers.expect, helpers.eq, helpers.wait | ||||
| local exc_exec = helpers.exc_exec | ||||
|  | ||||
| describe(':sort', function() | ||||
|   | ||||
| @@ -2,9 +2,10 @@ | ||||
|  | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
| local Screen = require('test.functional.ui.screen') | ||||
| local feed, insert = helpers.feed, helpers.insert | ||||
|  | ||||
| local eval, clear, command = helpers.eval, helpers.clear, helpers.command | ||||
| local eq, neq = helpers.eq, helpers.neq | ||||
| local insert = helpers.insert | ||||
| local redir_exec = helpers.redir_exec | ||||
|  | ||||
| describe('063: Test for ":match", "matchadd()" and related functions', function() | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
| local insert, source = helpers.insert, helpers.source | ||||
| local clear, command, expect = helpers.clear, helpers.command, helpers.expect | ||||
| local clear, expect = helpers.clear, helpers.expect | ||||
|  | ||||
| describe('floating point and logical operators', function() | ||||
|   setup(clear) | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
| local clear, exc_exec = helpers.clear, helpers.exc_exec | ||||
| local eq, neq, eval = helpers.eq, helpers.neq, helpers.eval | ||||
| local eq, eval = helpers.eq, helpers.eval | ||||
|  | ||||
| describe('glob2regpat()', function() | ||||
|   before_each(clear) | ||||
|   | ||||
| @@ -1,6 +1,5 @@ | ||||
| local helpers = require('test.functional.helpers')(after_each) | ||||
|  | ||||
| local feed = helpers.feed | ||||
| local wait = helpers.wait | ||||
| local clear = helpers.clear | ||||
| local insert = helpers.insert | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ZyX
					ZyX