From 73da2d107e97bed9a5598d95ea65b768231f427d Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Thu, 1 Aug 2019 11:39:33 +0300 Subject: [PATCH] Fix tests --- tests/test_auto_notify_send.zunit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_auto_notify_send.zunit b/tests/test_auto_notify_send.zunit index 2e0bb2c..baee452 100644 --- a/tests/test_auto_notify_send.zunit +++ b/tests/test_auto_notify_send.zunit @@ -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' {