commit 623da759d14202d6ce8517b1e1fe97395f99eb0a
parent 704d0bdf8c311082d0cc7328d859395bcea8d59c
Author: Kyle Milz <kyle@0x30.net>
Date: Sat, 31 Dec 2016 12:37:48 -0700
t: clean up warnings
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/t/inst_preprocess.t b/t/inst_preprocess.t
@@ -51,11 +51,10 @@ EOF
$inst->run( args => '-MM prepro.c', chdir => $inst->curdir );
# This file should not have been modified.
-my $inst_out;
$inst->read(\$inst_out, 'prepro.c');
# Sanitize paths from stdout.
-my $check_out = $inst->stdout;
+$check_out = $inst->stdout;
$check_out =~ s/^.*Milliseconds spent.*\n//gm;
$check_out =~ s/'.*'/''/gm;
$check_out =~ s/\(.*\)/\(\)/gm;