fix: noconfirm auto-selects first AUR match
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
import tachyon
|
||||
|
||||
result = tachyon.phaserize('shoot')
|
||||
|
||||
if not isinstance(result, int):
|
||||
print('Returned result not an integer.')
|
||||
sys.exit(1)
|
||||
|
||||
if result != 1:
|
||||
print('Returned result {} is not 1.'.format(result))
|
||||
sys.exit(1)
|
||||
Reference in New Issue
Block a user