diff options
Diffstat (limited to 'tests/integration_tests.rs')
-rw-r--r-- | tests/integration_tests.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index f09765b0..d2c8501f 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -701,6 +701,16 @@ fn pager_failed_to_parse() { } #[test] +fn diagnostic_sanity_check() { + bat() + .arg("--diagnostic") + .assert() + .success() + .stdout(predicate::str::contains("BAT_PAGER=")) + .stderr(""); +} + +#[test] fn config_location_test() { bat_with_config() .env("BAT_CONFIG_PATH", "bat.conf") |