Merge pull request #1038 from gedankenexperimenter/testing/no-report-without-comment

pull/1041/head
Jesse Vincent 4 years ago committed by GitHub
commit d06132276f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save