aboutsummaryrefslogtreecommitdiff
path: root/t/19-unit.t
diff options
context:
space:
mode:
Diffstat (limited to 't/19-unit.t')
-rwxr-xr-xt/19-unit.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/19-unit.t b/t/19-unit.t
index 917afa1..a025a8f 100755
--- a/t/19-unit.t
+++ b/t/19-unit.t
@@ -17,7 +17,7 @@ plan tests => 32;
{
my $exit;
my $out = capture_merged { $exit = exit_code { script_error(); }; };
-
+
is ($exit, 2, 'script_error() exited with 2');
is ($out, "A fatal script error has occurred. Exiting.\n", 'script_error() gave correct output');
}