From 70af787a7d7ff29efa67c32022d47e49b394e8fa Mon Sep 17 00:00:00 2001 From: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:24:31 +0100 Subject: [PATCH] Don't match error text. --- src/commands/signzone.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/signzone.rs b/src/commands/signzone.rs index f0bbd44..2345219 100644 --- a/src/commands/signzone.rs +++ b/src/commands/signzone.rs @@ -3471,7 +3471,7 @@ vrcj1rgalbb9eh2ii8a43fbeib1ufqf6.example.org.\t238\tIN\tRRSIG\tNSEC3 8 3 238 202 ]) .run(); - assert!(res.stderr.contains("No such file or directory")); + assert!(!res.stderr.is_empty()); assert_eq!(res.stdout, ""); assert_eq!(res.exit_code, 1);