From 144ac3243b4920d267f224732d9deff0f9f2cc52 Mon Sep 17 00:00:00 2001 From: Bunchhieng Date: Thu, 15 Sep 2016 10:32:37 -0400 Subject: Fixed build failed --- todolist/grouper_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'todolist/grouper_test.go') diff --git a/todolist/grouper_test.go b/todolist/grouper_test.go index 4b79703..12a1018 100644 --- a/todolist/grouper_test.go +++ b/todolist/grouper_test.go @@ -11,7 +11,8 @@ func TestGroupByContext(t *testing.T) { store := &FileStore{FileLocation: "todos.json"} list := &TodoList{} - list.Load(store.Load()) + todos, _ := store.Load() + list.Load(todos) grouper := &Grouper{} grouped := grouper.GroupByContext(list.Todos()) @@ -25,7 +26,8 @@ func TestGroupByProject(t *testing.T) { store := &FileStore{FileLocation: "todos.json"} list := &TodoList{} - list.Load(store.Load()) + todos, _ := store.Load() + list.Load(todos) grouper := &Grouper{} grouped := grouper.GroupByProject(list.Todos()) -- cgit v1.3