mirror of
				https://github.com/tmux-plugins/tpm.git
				synced 2025-11-04 00:16:05 +00:00 
			
		
		
		
	Improve test helper
This commit is contained in:
		@@ -1,10 +1,5 @@
 | 
				
			|||||||
check_dir_exists_helper() {
 | 
					check_dir_exists_helper() {
 | 
				
			||||||
	local dir_path=$1
 | 
						[ -d "$1" ]
 | 
				
			||||||
	if [ -d "$dir_path" ]; then
 | 
					 | 
				
			||||||
		return 0
 | 
					 | 
				
			||||||
	else
 | 
					 | 
				
			||||||
		return 1
 | 
					 | 
				
			||||||
	fi
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# runs the scripts and asserts it has the correct output and exit code
 | 
					# runs the scripts and asserts it has the correct output and exit code
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user