summaryrefslogtreecommitdiff
path: root/tests/tests.sh
diff options
context:
space:
mode:
authorTobias Brox <tobias@redpill-linpro.com>2020-06-07 00:12:52 +0200
committerTobias Brox <tobias@redpill-linpro.com>2020-06-07 00:12:52 +0200
commit86ebef1e06b2b43e2e15ac1e370a05ea87ab4f2f (patch)
tree4bf1ab00f9328c13bace1a81d23e9de5dce5a96b /tests/tests.sh
parentc45cf2b250d3c1b0989a3352d1d5b534ee61119a (diff)
downloadcalendar-cli-86ebef1e06b2b43e2e15ac1e370a05ea87ab4f2f.zip
documentation and comments. Resolves https://github.com/tobixen/calendar-cli/issues/65
Diffstat (limited to 'tests/tests.sh')
-rwxr-xr-xtests/tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tests.sh b/tests/tests.sh
index fa2ff3d..7f8d136 100755
--- a/tests/tests.sh
+++ b/tests/tests.sh
@@ -34,7 +34,7 @@ echo "## EVENTS"
echo "## testing $calendar_cli"
echo "## this is a very simple test script without advanced error handling"
-echo "## if this test script doesn't output 'all tests completed' in the end, something went wrong"
+echo "## if this test script doesn't output 'ALL TESTS COMPLETED! YAY!' in the end, something went wrong"
echo "## Attempting to add an event at 2010-10-09 20:00:00, 2 hours duration"
calendar_cli calendar add '2010-10-09 20:00:00+2h' 'testing testing'
@@ -46,7 +46,7 @@ calendar_cli calendar add '2010-10-10 20:00:00+01:00' 'testing testing' --set-de
uid2=$(echo $output | perl -ne '/uid=(.*)$/ && print $1')
[ -n "$uid2" ] || error "got no UID back"
-echo "## Attempting to add a past event at 2010-10-11 20:00:00, CET, 3h duration"
+echo "## Attempting to add an event at 2010-10-11 20:00:00, CET, 3h duration"
calendar_cli calendar add '2010-10-11 20:00:00+01:00+3h' 'testing testing'
uid3=$(echo $output | perl -ne '/uid=(.*)$/ && print $1')
echo "## OK: Added the event, uid is $uid"
@@ -181,4 +181,4 @@ calendar_cli todo --hide-parents --categories scripttest complete
calendar_cli todo --hide-parents --categories scripttest list
[ -z "$output" ] && echo "## OK: found no tasks now"
-echo "## all tests completed"
+echo "## ALL TESTS COMPLETED! YAY!"