mirror of
https://github.com/boolean-maybe/tiki
synced 2026-04-21 13:37:20 +00:00
fix github linter
This commit is contained in:
parent
b8deb9e5e2
commit
5a7e30cb77
3 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ func TestNewWordList(t *testing.T) {
|
|||
|
||||
if wl == nil {
|
||||
t.Fatal("NewWordList returned nil")
|
||||
return
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(wl.words, words) {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue