From 206a28076422758102fb7df322b218dfe4248deb Mon Sep 17 00:00:00 2001 From: Quey-Liang Kao Date: Sat, 21 Jan 2017 12:43:43 +0800 Subject: Fix a bug and add some tests --- todolist/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todolist/app.go') diff --git a/todolist/app.go b/todolist/app.go index e67605f..5f26d45 100644 --- a/todolist/app.go +++ b/todolist/app.go @@ -121,7 +121,7 @@ func (a *App) ExpandTodo(input string) { newTodos := strings.Split(input[todos+1:], ",") for _, todo := range newTodos { - args := []string{"add +", commonProject, " ", todo} + args := []string{"add ", commonProject, " ", todo} a.AddTodo(strings.Join(args, "")) } -- cgit v1.3