mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 14:44:05 +00:00 
			
		
		
		
	#1279: Add pikaur AUR manager to Arch Linux's commands
* Add pikaur AUR manager to Arch Linux's commands * Update README.md * Update test_pacman_not_found.py * Update pacman_not_found.py * Update README.md Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
This commit is contained in:
		| @@ -12,6 +12,7 @@ extra/llvm35 3.5.2-13/usr/bin/llc''' | ||||
|                     reason='Skip if pacman is not available') | ||||
| @pytest.mark.parametrize('command', [ | ||||
|     Command('yay -S llc', 'error: target not found: llc'), | ||||
|     Command('pikaur -S llc', 'error: target not found: llc'), | ||||
|     Command('yaourt -S llc', 'error: target not found: llc'), | ||||
|     Command('pacman llc', 'error: target not found: llc'), | ||||
|     Command('sudo pacman llc', 'error: target not found: llc')]) | ||||
| @@ -21,6 +22,7 @@ def test_match(command): | ||||
|  | ||||
| @pytest.mark.parametrize('command', [ | ||||
|     Command('yay -S llc', 'error: target not found: llc'), | ||||
|     Command('pikaur -S llc', 'error: target not found: llc'), | ||||
|     Command('yaourt -S llc', 'error: target not found: llc'), | ||||
|     Command('pacman llc', 'error: target not found: llc'), | ||||
|     Command('sudo pacman llc', 'error: target not found: llc')]) | ||||
| @@ -34,6 +36,7 @@ def test_match_mocked(subp_mock, command): | ||||
|                     reason='Skip if pacman is not available') | ||||
| @pytest.mark.parametrize('command, fixed', [ | ||||
|     (Command('yay -S llc', 'error: target not found: llc'), ['yay -S extra/llvm', 'yay -S extra/llvm35']), | ||||
|     (Command('pikaur -S llc', 'error: target not found: llc'), ['pikaur -S extra/llvm', 'pikaur -S extra/llvm35']), | ||||
|     (Command('yaourt -S llc', 'error: target not found: llc'), ['yaourt -S extra/llvm', 'yaourt -S extra/llvm35']), | ||||
|     (Command('pacman -S llc', 'error: target not found: llc'), ['pacman -S extra/llvm', 'pacman -S extra/llvm35']), | ||||
|     (Command('sudo pacman -S llc', 'error: target not found: llc'), ['sudo pacman -S extra/llvm', 'sudo pacman -S extra/llvm35'])]) | ||||
| @@ -43,6 +46,7 @@ def test_get_new_command(command, fixed): | ||||
|  | ||||
| @pytest.mark.parametrize('command, fixed', [ | ||||
|     (Command('yay -S llc', 'error: target not found: llc'), ['yay -S extra/llvm', 'yay -S extra/llvm35']), | ||||
|     (Command('pikaur -S llc', 'error: target not found: llc'), ['pikaur -S extra/llvm', 'pikaur -S extra/llvm35']), | ||||
|     (Command('yaourt -S llc', 'error: target not found: llc'), ['yaourt -S extra/llvm', 'yaourt -S extra/llvm35']), | ||||
|     (Command('pacman -S llc', 'error: target not found: llc'), ['pacman -S extra/llvm', 'pacman -S extra/llvm35']), | ||||
|     (Command('sudo pacman -S llc', 'error: target not found: llc'), ['sudo pacman -S extra/llvm', 'sudo pacman -S extra/llvm35'])]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user