diff options
| author | Bunchhieng <Bunchhieng@gmail.com> | 2016-09-15 10:32:37 -0400 |
|---|---|---|
| committer | Bunchhieng <Bunchhieng@gmail.com> | 2016-09-15 10:32:37 -0400 |
| commit | 144ac3243b4920d267f224732d9deff0f9f2cc52 (patch) | |
| tree | b5e004011606f1cc44eba196bff8f1bd33e795b7 /todolist/grouper_test.go | |
| parent | 593d40009c127006145db4c5876c95d4698dd875 (diff) | |
Fixed build failed
Diffstat (limited to 'todolist/grouper_test.go')
| -rw-r--r-- | todolist/grouper_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
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()) |
