mirror of
https://github.com/philippdieter/zsh-auto-notify.git
synced 2025-10-13 03:58:44 +00:00
Fix tests
This commit is contained in:
parent
4a9e4b8e03
commit
73da2d107e
@ -108,8 +108,8 @@
|
||||
run _auto_notify_send
|
||||
|
||||
assert $state equals 0
|
||||
assert "$lines[1]" same_as '-e display notification "Total time: 20 seconds'
|
||||
assert "$lines[2]" same_as 'Exit code: 0" with title "\"f bar -r\" Completed"'
|
||||
assert "$lines[1]" same_as '-e on run argv -e display notification (item 1 of argv) with title (item 2 of argv) -e end run Total time: 20 seconds'
|
||||
assert "$lines[2]" same_as 'Exit code: 0 "f bar -r" Completed'
|
||||
}
|
||||
|
||||
@test 'auto-notify-send sends warning on unsupported platform' {
|
||||
|
Loading…
x
Reference in New Issue
Block a user