mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	patch 8.2.2643: various code not covered by tests
Problem: Various code not covered by tests. Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
This commit is contained in:
		| @@ -1389,4 +1389,14 @@ func Test_map_cmdkey_redo() | ||||
|   ounmap i- | ||||
| endfunc | ||||
|  | ||||
| " Test for using <script> with a map to remap characters in rhs | ||||
| func Test_script_local_remap() | ||||
|   new | ||||
|   inoremap <buffer> <SID>xyz mno | ||||
|   inoremap <buffer> <script> abc st<SID>xyzre | ||||
|   normal iabc | ||||
|   call assert_equal('stmnore', getline(1)) | ||||
|   bwipe! | ||||
| endfunc | ||||
|  | ||||
| " vim: shiftwidth=2 sts=2 expandtab | ||||
|   | ||||
		Reference in New Issue
	
	Block a user