diff --git a/test/suite/lib_pager.sh b/test/suite/lib_pager.sh index 62e0816..0ee7d5a 100644 --- a/test/suite/lib_pager.sh +++ b/test/suite/lib_pager.sh @@ -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"