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 @@ -700,6 +700,16 @@ fn pager_failed_to_parse() { .stderr(predicate::str::contains("Could not parse pager command")); } +#[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()