From 1411a6e0ca36d6eda89a2f2f4e937fec3cad2030 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 21 Sep 2021 09:29:43 +0000 Subject: [PATCH] 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. --- 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'); }); -- 2.44.0