mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-06-20 11:47:43 +02:00
lib: Add test for 'less' as pager instead of 'bat'
This commit is contained in:
parent
4f0b961d12
commit
a4a5f5a5fd
@ -26,6 +26,12 @@ test:less_detection() {
|
||||
(use_pager "stty" && expect_equal "$(pager_name)" "stty")
|
||||
}
|
||||
|
||||
test:bat_detection() {
|
||||
description "Ensure bat is replaced with less as pager"
|
||||
|
||||
(use_pager "bat" && expect_equal "$(pager_name)" "less")
|
||||
}
|
||||
|
||||
test:less_version() {
|
||||
description "Identify less version"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user