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/file_store_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'todolist/file_store_test.go') 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) } -- cgit v1.3