From 8bede1cb84994c9a6a2025d0b6192574d94bb030 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Thu, 21 Apr 2016 08:01:27 -0500 Subject: [PATCH] Test for correct error message when public key is missing --- test/109_accept_encryption.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/109_accept_encryption.bats b/test/109_accept_encryption.bats index 788dfaa..ba3ad50 100644 --- a/test/109_accept_encryption.bats +++ b/test/109_accept_encryption.bats @@ -453,7 +453,7 @@ EOF #; validate status and output [ "$status" -eq 1 ] - [[ "$output" =~ invalid\ passphrase ]] + [[ "$output" =~ public\ key\ not\ found ]] [[ "$output" =~ Unable\ to\ write ]] }