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/file_store_test.go | |
| parent | 593d40009c127006145db4c5876c95d4698dd875 (diff) | |
Fixed build failed
Diffstat (limited to 'todolist/file_store_test.go')
| -rw-r--r-- | todolist/file_store_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/todolist/file_store_test.go b/todolist/file_store_test.go index 0bd194d..8de79ec 100644 --- a/todolist/file_store_test.go +++ b/todolist/file_store_test.go @@ -9,12 +9,12 @@ import ( func TestFileStore(t *testing.T) { assert := assert.New(t) store := &FileStore{FileLocation: "todos.json"} - todos := store.Load() + todos, _ := store.Load() assert.Equal(todos[0].Subject, "this is the first subject", "") } func TestSave(t *testing.T) { store := &FileStore{FileLocation: "todos.json"} - todos := store.Load() + todos, _ := store.Load() store.Save(todos) } |
