test: code coverage for list-languages parameter

This commit is contained in:
Stéphane Blondon authored and Martin Nordholts committed 2025-07-14 16:40:14 +02:00
1 parent f1d45da676
commit 9121746f05
2 files changed
+10

No files matched your search

+9
View File
@@ -353,6 +353,15 @@ fn list_themes_to_piped_output() {
);
}
#[test]
fn list_languages() {
bat()
.arg("--list-languages")
.assert()
.success()
.stdout(predicate::str::contains("Rust").normalize());
}
#[test]
#[cfg_attr(
any(not(feature = "git"), feature = "lessopen", target_os = "windows"),