Add tests for _auto_notify_send

This commit is contained in:
Michael Aquilina 2019-07-14 11:39:36 +01:00
parent 74429d84aa
commit 73b47b1383
No known key found for this signature in database
GPG key ID: 636066730B056BD1
2 changed files with 44 additions and 1 deletions

View file

@ -12,7 +12,7 @@ function _auto_notify_message() {
local command="$1"
local elapsed="$2"
# Run using echo -e in order to make sure notify-send picks up new line
echo -e "'$command' has completed\n(Total time: $elapsed seconds)"
echo -e "\"$command\" has completed\n(Total time: $elapsed seconds)"
}
function _is_auto_notify_ignored() {