mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			319 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			319 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
local helpers = require('test.functional.helpers')(after_each)
 | 
						|
local clear, eq, command, funcs =
 | 
						|
  helpers.clear, helpers.eq, helpers.command, helpers.funcs
 | 
						|
 | 
						|
describe(':z^', function()
 | 
						|
  before_each(clear)
 | 
						|
 | 
						|
  it('correctly sets the cursor after :z^', function()
 | 
						|
    command('z^')
 | 
						|
    eq(1, funcs.line('.'))
 | 
						|
  end)
 | 
						|
end)
 |