Skip to content

Commit 353782f

Browse files
committed
Fix dry run tests.
1 parent a4b9c0b commit 353782f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/bats

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ teardown() {
6969
[ "${lines[5]}" = "srcdir : /tmp/backup-temp" ]
7070
[ "${lines[6]}" = "bucket : storage" ]
7171
[ "${lines[7]}" = "destdir: destination" ]
72-
[ "${lines[8]}" = "[OK] Sync" ]
72+
[ "${lines[8]}" = "dry run backup" ]
73+
[ "${lines[9]}" = "[OK] Sync" ]
7374
}
7475

7576
@test "invoking dry run backup with config file" {
@@ -81,5 +82,6 @@ teardown() {
8182
[ "${lines[5]}" = "srcdir : /tmp/backup-temp" ]
8283
[ "${lines[6]}" = "bucket : storage" ]
8384
[ "${lines[7]}" = "destdir: destination" ]
84-
[ "${lines[8]}" = "[OK] Sync" ]
85+
[ "${lines[8]}" = "dry run backup" ]
86+
[ "${lines[9]}" = "[OK] Sync" ]
8587
}

0 commit comments

Comments
 (0)