Skip to content

Commit cf9c581

Browse files
committed
fix(man): ignore man sync test on non-Linux platforms
CI only installs groff-base on Linux, so the man test must be skipped on macOS and Windows via cfg_attr ignore. https://claude.ai/code/session_01CrXuWDMVQsiUBoy6ceACsF
1 parent 3aea3d5 commit cf9c581

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/sync_man_page.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ fn roff() {
4040
}
4141

4242
#[test]
43+
#[cfg_attr(
44+
not(target_os = "linux"),
45+
ignore = "groff is only installed on Linux CI"
46+
)]
4347
fn man() {
4448
if which::which("groff").is_err() {
4549
panic!(

0 commit comments

Comments
 (0)