aboutsummaryrefslogtreecommitdiffstats
path: root/todolist/app.go
diff options
context:
space:
mode:
authorQuey-Liang Kao <nonerkao@gmail.com>2017-01-21 12:43:43 +0800
committerQuey-Liang Kao <nonerkao@gmail.com>2017-01-21 12:43:43 +0800
commit206a28076422758102fb7df322b218dfe4248deb (patch)
tree903fd573031c43c2f8d5219ecd2f682257392ea9 /todolist/app.go
parent0d1eecc168321dbfd56d1fec55c7d6df5eee2c29 (diff)
Fix a bug and add some tests
Diffstat (limited to 'todolist/app.go')
-rw-r--r--todolist/app.go2
1 files changed, 1 insertions, 1 deletions
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, ""))
}