fancy theme
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ func TestDetailScrollingAndNavigation(t *testing.T) {
|
||||
t.Fatalf("expected paged detail: %s", app.View())
|
||||
}
|
||||
app = testKey(app, tea.KeyMsg{Type: tea.KeyPgDown})
|
||||
if app.scroll == 0 || !strings.Contains(app.View(), "line 4") {
|
||||
if app.scroll == 0 || !strings.Contains(app.View(), "line 2") {
|
||||
t.Fatalf("detail did not scroll: %s", app.View())
|
||||
}
|
||||
app = testKey(app, tea.KeyMsg{Type: tea.KeyEnd})
|
||||
|
||||
Reference in New Issue
Block a user