tests: Improve tests by using $unused_highlight.
The default for [redirection] is 'none', so it wasn't actually being tested.
This commit is contained in:
		
							parent
							
								
									09c4114eb9
								
							
						
					
					
						commit
						46cd970bc4
					
				|  | @ -27,6 +27,7 @@ | |||
| # vim: ft=zsh sw=2 ts=2 et | ||||
| # ------------------------------------------------------------------------------------------------- | ||||
| 
 | ||||
| ZSH_HIGHLIGHT_STYLES[redirection]=$unused_highlight | ||||
| BUFFER='sudo -u >/tmp otheruser ls; sudo ls; sudo -i ls' | ||||
| 
 | ||||
| expected_region_highlight=( | ||||
|  |  | |||
|  | @ -27,6 +27,7 @@ | |||
| # vim: ft=zsh sw=2 ts=2 et | ||||
| # ------------------------------------------------------------------------------------------------- | ||||
| 
 | ||||
| ZSH_HIGHLIGHT_STYLES[redirection]=$unused_highlight | ||||
| BUFFER='sudo >/tmp -u otheruser ls' | ||||
| 
 | ||||
| expected_region_highlight=( | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue