summaryrefslogtreecommitdiffstats
path: root/test/util/vercmptest.sh
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-06-19 22:33:56 +0200
committerAllan McRae <allan@archlinux.org>2018-08-10 04:37:20 +0200
commit4e83abaae51c82ce6571450fb3ed9e2e71175b68 (patch)
treebc3df61153508b4cbf90b1d00a0a00dcfd2ee110 /test/util/vercmptest.sh
parent92bc0a474081c56d71605787d57ea2f6715a639c (diff)
downloadpacman-4e83abaae51c82ce6571450fb3ed9e2e71175b68.tar.gz
pacman-4e83abaae51c82ce6571450fb3ed9e2e71175b68.tar.xz
libmakepkg/util/option: Refactor checking to reduce code duplication
Pull out the expected=y/n check into a separate function and make use of the fact we can just prepend the fallback arrays to get the same result. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/util/vercmptest.sh')
0 files changed, 0 insertions, 0 deletions