summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorZack Hobson2013-11-21 12:59:36 -0800
committerZack Hobson2013-11-21 12:59:36 -0800
commit6c903fd0c4ef000c01ff7a3ece0cf9da27b3530c (patch)
tree79fdd29f3e43fa648f75b21af599fcf5941fb5ee /lib
parentba28437f7a56e0f817fe1b51e46e756b7f6cc1f9 (diff)
downloadhcl-6c903fd0c4ef000c01ff7a3ece0cf9da27b3530c.tar.bz2
coverage tests for app, command, task.
Diffstat (limited to 'lib')
-rw-r--r--lib/hcl/commands.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb
index c245710..d1861de 100644
--- a/lib/hcl/commands.rb
+++ b/lib/hcl/commands.rb
@@ -35,7 +35,7 @@ module HCl
entry = DayEntry.with_timer || DayEntry.last
if entry
if entry.cancel
- puts "Deleted entry #{entry}."
+ "Deleted entry #{entry}."
else
puts "Failed to delete #{entry}!"
exit 1
@@ -100,7 +100,7 @@ module HCl
if entry
entry.append_note(args.join(' ')) if args.any?
entry.toggle
- puts "Stopped #{entry} (at #{current_time})"
+ "Stopped #{entry} (at #{current_time})"
else
puts "No running timers found."
exit 1
@@ -112,7 +112,7 @@ module HCl
entry = DayEntry.with_timer
if entry
entry.append_note message
- puts "Added note to #{entry}."
+ "Added note to #{entry}."
else
puts "No running timers found."
exit 1