From c0570bf66259b59f26439592aff450f42d4e2f55 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 25 Jul 2016 17:37:42 +0200 Subject: 24-unit-sboconfig.t: update error message check --- t/24-unit-sboconfig.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/24-unit-sboconfig.t b/t/24-unit-sboconfig.t index 8f637de..7f97827 100755 --- a/t/24-unit-sboconfig.t +++ b/t/24-unit-sboconfig.t @@ -36,6 +36,6 @@ sub load { my $exit; my $out = capture_merged { $exit = exit_code { main::config_write(); }; }; - is ($out, "A fatal script error has occurred:\nconfig_write requires two arguments.\nExiting.\n", "sboconfig's config_write() gave correct output"); + is ($out, "A fatal script error has occurred:\nconfig_write requires at least two arguments.\nExiting.\n", "sboconfig's config_write() gave correct output"); is ($exit, 2, "sboconfig's config_write() gave correct exit status"); } -- cgit v1.2.3