mirror of
				https://github.com/tmux-plugins/tpm.git
				synced 2025-11-04 08:36:05 +00:00 
			
		
		
		
	Fix error with tests
This commit is contained in:
		@@ -4,8 +4,8 @@ FAIL="false"
 | 
			
		||||
 | 
			
		||||
set_tmux_conf_helper() {
 | 
			
		||||
	> ~/.tmux.conf	# empty filename
 | 
			
		||||
	while read -r line; do
 | 
			
		||||
		echo $line >> ~/.tmux.conf
 | 
			
		||||
	while read line; do
 | 
			
		||||
		echo "$line" >> ~/.tmux.conf
 | 
			
		||||
	done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -24,7 +24,7 @@ test_plugin_installation() {
 | 
			
		||||
test_multiple_plugins_installation() {
 | 
			
		||||
	set_tmux_conf_helper <<- HERE
 | 
			
		||||
	set -g @plugin "tmux-plugins/tmux-example-plugin"
 | 
			
		||||
	  set  -g    @plugin 'tmux-plugins/tmux-copycat'
 | 
			
		||||
	\ \ set  -g    @plugin 'tmux-plugins/tmux-copycat'
 | 
			
		||||
	run-shell "$PWD/tpm"
 | 
			
		||||
	HERE
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user