@@ -700,6 +700,28 @@ Single Line
700 .stderr("");
700 .stderr("");
704+fn grid_overrides_rule() {
706+ .arg("--decorations=always")
707+ .arg("--style=grid,rule")
708+ .arg("--terminal-width=80")
710+ .arg("single-line.txt")
714+────────────────────────────────────────────────────────────────────────────────
716+────────────────────────────────────────────────────────────────────────────────
717+────────────────────────────────────────────────────────────────────────────────
719+────────────────────────────────────────────────────────────────────────────────
722+ .stderr("\x1b[33m[bat warning]\x1b[0m: Style 'rule' is a subset of style 'grid', 'rule' will not be visible.\n");
703#[cfg(target_os = "linux")]
725#[cfg(target_os = "linux")]
705fn file_with_invalid_utf8_filename() {
727fn file_with_invalid_utf8_filename() {