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:
parent
b17c44af28
commit
1d93f43838
@ -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) + "^"
|
||||
|
Loading…
Reference in New Issue
Block a user