mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	unittests: Fix lint errors
This commit is contained in:
		@@ -7,6 +7,9 @@ local global_helpers = require('test.helpers')
 | 
				
			|||||||
local assert = require('luassert')
 | 
					local assert = require('luassert')
 | 
				
			||||||
local say = require('say')
 | 
					local say = require('say')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					local posix = nil
 | 
				
			||||||
 | 
					local syscall = nil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local neq = global_helpers.neq
 | 
					local neq = global_helpers.neq
 | 
				
			||||||
local eq = global_helpers.eq
 | 
					local eq = global_helpers.eq
 | 
				
			||||||
local ok = global_helpers.ok
 | 
					local ok = global_helpers.ok
 | 
				
			||||||
@@ -355,9 +358,8 @@ end
 | 
				
			|||||||
if os.getenv('NVIM_TEST_PRINT_SYSCALLS') == '1' then
 | 
					if os.getenv('NVIM_TEST_PRINT_SYSCALLS') == '1' then
 | 
				
			||||||
  for k_, v_ in pairs(sc) do
 | 
					  for k_, v_ in pairs(sc) do
 | 
				
			||||||
    (function(k, v)
 | 
					    (function(k, v)
 | 
				
			||||||
      local f = sc[k]
 | 
					 | 
				
			||||||
      sc[k] = function(...)
 | 
					      sc[k] = function(...)
 | 
				
			||||||
        local rets = {f(...)}
 | 
					        local rets = {v(...)}
 | 
				
			||||||
        io.stderr:write(('%s(%s) = %s\n'):format(k, format_list({...}),
 | 
					        io.stderr:write(('%s(%s) = %s\n'):format(k, format_list({...}),
 | 
				
			||||||
                                                 format_list(rets)))
 | 
					                                                 format_list(rets)))
 | 
				
			||||||
        return unpack(rets)
 | 
					        return unpack(rets)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user