integration_tests: Add diagnostic_sanity_check()
This commit is contained in:
1 parent
05c11964fc
commit
bd797c75a4
1 file changed
+10
@@ -700,6 +700,16 @@ fn pager_failed_to_parse() {
|
|||||||
.stderr(predicate::str::contains("Could not parse pager command"));
|
.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]
|
#[test]
|
||||||
fn config_location_test() {
|
fn config_location_test() {
|
||||||
bat_with_config()
|
bat_with_config()
|
||||||
|
|||||||
Reference in new issue
Block a user