From 8ae7001729ca98a54d04d5fe40c52e677f139187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Sch=C3=B6ning?= Date: Thu, 19 Nov 2015 20:50:37 +0100 Subject: [PATCH] Useless use of a constant in void context Remove an extraneous newline to avoid useless constant warning. --- qtest/module/TestDriver.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtest/module/TestDriver.pm b/qtest/module/TestDriver.pm index d581216c..117e72c6 100644 --- a/qtest/module/TestDriver.pm +++ b/qtest/module/TestDriver.pm @@ -386,7 +386,8 @@ sub report push(@vals, map { $rep->{+__PACKAGE__}{$_} } ($f_passes, $f_fails, $f_xpasses, $f_xfails)); my $socket = $rep->_socket(); - $socket->print(join(' ', @vals)), "\n"; + $socket->print(join(' ', @vals)); + $socket->flush(); } # Usage: notify(string)