1
1
mirror of https://github.com/walles/moar.git synced 2024-09-21 09:01:30 +03:00

Test: Accept prettified man page bullets

This commit is contained in:
Johan Walles 2021-04-25 16:32:00 +02:00
parent b17c44af28
commit 1d93f43838

View File

@ -64,6 +64,11 @@ func TestTokenize(t *testing.T) {
continue
}
if cellChar.Rune == '•' && plainChar == 'o' {
// Pretty bullets on man pages
continue
}
// Chars mismatch!
plainStringFromCells := cellsToPlainString(tokens)
positionMarker := strings.Repeat(" ", index) + "^"