Add custom theming
This commit is contained in:
@@ -1704,7 +1704,7 @@ func TestTabHidesListAndHRestoresIt(t *testing.T) {
|
||||
|
||||
func TestSelectedBackgroundFillsLine(t *testing.T) {
|
||||
rendered := selectedBackground("code", 12)
|
||||
if !strings.Contains(rendered, "\x1b[48;5;24m") || ansi.StringWidth(rendered) != 12 {
|
||||
if !strings.Contains(rendered, selectedLineBackground) || ansi.StringWidth(rendered) != 12 {
|
||||
t.Fatalf("selected background was not full width: %q", rendered)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user