commit 694355e6609fc3838d0e493d0eab2a3a576a5cfe
parent 1c0fa58c0c73eda8e0f35423d35e488dd6b6deb9
Author: Kyle Milz <kyle@0x30.net>
Date: Mon, 2 Jan 2017 16:15:36 -0700
t: fix up unix part of wrap_exitcode
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/t/wrap_exitcode.t b/t/wrap_exitcode.t
@@ -19,8 +19,10 @@ if ($^O eq "MSWin32") {
}
else {
$wrap->run( args => 'ls asdf' );
+ my $err_good = "ls: asdf: No such file or directory
+";
- #is( $wrap->stdout, '', 'is citrun_wrap stdout empty');
- #is( $wrap->stderr, $err_good, 'is citrun_wrap stderr identical');
+ is( $wrap->stdout, '', 'is citrun_wrap stdout empty');
+ is( $wrap->stderr, $err_good, 'is citrun_wrap stderr identical');
is( $? >> 8, 1, 'is citrun_wrap exit code 1');
}