tests/man: try to fix intermittent failure in CI

This failed once in Ubuntu CI because there was one extra space in
the first column (after "ABBR(1)").
This commit is contained in:
Johannes Altmanninger
2025-10-28 00:11:12 +01:00
parent cb320e17ed
commit ea5d77ad6f

View File

@@ -5,10 +5,10 @@
set -lx MANWIDTH 80
man abbr | head -n4
# CHECK: ABBR(1) fish-shell ABBR(1)
# CHECK: ABBR(1) {{ *}} fish-shell {{ *}} ABBR(1)
# CHECK: NAME
# CHECK: abbr - manage fish abbreviations
man : | head -n4
# CHECK: TRUE(1) fish-shell TRUE(1)
# CHECK: TRUE(1) {{ *}} fish-shell {{ *}} TRUE(1)
# CHECK: NAME
# CHECK: true - return a successful result