fix github linter

This commit is contained in:
booleanmaybe 2026-04-08 14:09:01 -04:00
parent b8deb9e5e2
commit 5a7e30cb77
3 changed files with 3 additions and 0 deletions

View file

@ -27,6 +27,7 @@ func TestNewTaskList(t *testing.T) {
if tl == nil {
t.Fatal("NewTaskList returned nil")
return
}
if tl.maxVisibleRows != 5 {
t.Errorf("Expected maxVisibleRows=5, got %d", tl.maxVisibleRows)

View file

@ -14,6 +14,7 @@ func TestNewWordList(t *testing.T) {
if wl == nil {
t.Fatal("NewWordList returned nil")
return
}
if !reflect.DeepEqual(wl.words, words) {

View file

@ -502,6 +502,7 @@ func TestTaskDetailViewActions_HasEditDesc(t *testing.T) {
action := registry.Match(event)
if action == nil {
t.Fatal("expected Shift+D to match an action")
return
}
if action.ID != ActionEditDesc {
t.Errorf("expected ActionEditDesc, got %v", action.ID)