Suppress warnings when expecting no report without comment

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1038/head
Michael Richters 3 years ago
parent 3a8eb5d839
commit 86cc2c66a7
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -375,7 +375,9 @@ sub generate_expect_report {
$reports_expected++; $reports_expected++;
if ( $report->{data}->{count} == 0 ) { if ( $report->{data}->{count} == 0 ) {
cxx_comment( $report->{comment} ); if ( $report->{comment} ) {
cxx_comment( $report->{comment} );
}
cxx_comment( cxx_comment(
"We don't expect any report here, and have told the tests to check that" "We don't expect any report here, and have told the tests to check that"
); );

Loading…
Cancel
Save