summaryrefslogtreecommitdiff
path: root/t/60-bin-efa.t
diff options
context:
space:
mode:
Diffstat (limited to 't/60-bin-efa.t')
-rw-r--r--t/60-bin-efa.t10
1 files changed, 4 insertions, 6 deletions
diff --git a/t/60-bin-efa.t b/t/60-bin-efa.t
index 8337b62..2b60233 100644
--- a/t/60-bin-efa.t
+++ b/t/60-bin-efa.t
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.010;
-use Test::Command tests => 85;
+use Test::Command tests => 94;
my $efa = 'bin/efa';
my $testarg = "E HBf MH HBf";
@@ -154,13 +154,11 @@ $cmd->exit_is_num(0);
$cmd->stdout_is_file("t/out/e_hbf_mh_hbf.ignore_none");
$cmd->stderr_is_eq($EMPTY);
-__END__
-
$cmd = Test::Command->new(
cmd => "$efa $test_parse < t/in/ambiguous"
);
-$cmd->exit_is_num(1);
+$cmd->exit_isnt_num(0);
$cmd->stdout_is_eq($EMPTY);
$cmd->stderr_is_file('t/out/ambiguous');
@@ -168,7 +166,7 @@ $cmd = Test::Command->new(
cmd => "$efa $test_parse < t/in/no_connections"
);
-$cmd->exit_is_num(2);
+$cmd->exit_isnt_num(0);
$cmd->stdout_is_eq($EMPTY);
$cmd->stderr_is_file('t/out/no_connections');
@@ -176,6 +174,6 @@ $cmd = Test::Command->new(
cmd => "$efa $test_parse < t/in/invalid_input"
);
-$cmd->exit_is_num(3);
+$cmd->exit_isnt_num(0);
$cmd->stdout_is_eq($EMPTY);
$cmd->stderr_is_file('t/out/invalid_input');