diff options
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) } |
