From: Eric Wong Date: Tue, 21 Sep 2021 09:29:43 +0000 (+0000) Subject: t/lei-up: use '-q' to silence non-redirected test X-Git-Tag: v1.7.0~303 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=1411a6e0ca36d6eda89a2f2f4e937fec3cad2030 t/lei-up: use '-q' to silence non-redirected test We could redirect, too, but just use -q since we don't care for the output with run_mode => 0. --- diff --git a/t/lei-up.t b/t/lei-up.t index 8937cfb1..fc369156 100644 --- a/t/lei-up.t +++ b/t/lei-up.t @@ -35,7 +35,7 @@ test_lei(sub { $uc = do { local $/; <$fh> }; is($uc, $exp, 'uncompressed both match'); - lei_ok [ 'up', "$ENV{HOME}/b", "--mua=touch $ENV{HOME}/c" ], + lei_ok [ qw(up -q), "$ENV{HOME}/b", "--mua=touch $ENV{HOME}/c" ], undef, { run_mode => 0 }; ok(-f "$ENV{HOME}/c", '--mua works with single output'); });