We could redirect, too, but just use -q since we don't care
for the output with run_mode => 0.
---
t/lei-up.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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');
});
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/