diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-05-03 15:02:24 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-05-03 15:02:24 -0400 |
| commit | 017ddfd50eec98e4ee8dd42a1dac800cdb674171 (patch) | |
| tree | db289ebcb7b0aaf4c1e24370a066072688c68724 /todolist/file_store_test.go | |
| parent | 82dbd4a62ac62d97a61386696d992e3400167d97 (diff) | |
Make everything a pointer, add archive completed fn
Diffstat (limited to 'todolist/file_store_test.go')
| -rw-r--r-- | todolist/file_store_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/todolist/file_store_test.go b/todolist/file_store_test.go index 8bffa56..a83863b 100644 --- a/todolist/file_store_test.go +++ b/todolist/file_store_test.go @@ -33,7 +33,7 @@ func TestIndexOf(t *testing.T) { store.Load() assert.Equal(-1, store.IndexOf(todo)) - assert.Equal(0, store.IndexOf(&store.Data[0])) + assert.Equal(0, store.IndexOf(store.Data[0])) } func TestDelete(t *testing.T) { |
