diff --git a/lib/Cavil/ReportUtil.pm b/lib/Cavil/ReportUtil.pm index c486b1448..53fbde14a 100644 --- a/lib/Cavil/ReportUtil.pm +++ b/lib/Cavil/ReportUtil.pm @@ -95,7 +95,7 @@ sub summary_delta ($old, $new) { } } if (@files_with_new_snippets) { - $text .= " New missed snippets in " . (shift @files_with_new_snippets); + $text .= " New unresolved matches in " . (shift @files_with_new_snippets); if (@files_with_new_snippets) { my $num = scalar @files_with_new_snippets; $text .= " and $num " . ($num > 1 ? 'files' : 'file') . ' more'; diff --git a/t/report_util.t b/t/report_util.t index cc519b5a4..a25a33b04 100644 --- a/t/report_util.t +++ b/t/report_util.t @@ -495,7 +495,8 @@ subtest 'summary_delta' => sub { licenses => {} } ), - "Diff to closest match 1:\n\n New missed snippets in Mojolicious-7.25/LICENSE\n\n", 'new file with snippets'; + "Diff to closest match 1:\n\n New unresolved matches in Mojolicious-7.25/LICENSE\n\n", + 'new file with snippets'; is summary_delta( { id => 1, @@ -516,7 +517,7 @@ subtest 'summary_delta' => sub { licenses => {} } ), - "Diff to closest match 1:\n\n New missed snippets in Mojolicious-7.25/COPYING\n\n", + "Diff to closest match 1:\n\n New unresolved matches in Mojolicious-7.25/COPYING\n\n", 'different file with snippets'; is summary_delta( { @@ -538,7 +539,7 @@ subtest 'summary_delta' => sub { licenses => {} } ), - "Diff to closest match 1:\n\n New missed snippets in Mojolicious-7.25/README\n\n", + "Diff to closest match 1:\n\n New unresolved matches in Mojolicious-7.25/README\n\n", 'different snippets in same files'; is summary_delta( { @@ -563,7 +564,7 @@ subtest 'summary_delta' => sub { licenses => {} } ), - "Diff to closest match 1:\n\n New missed snippets in Mojolicious-7.25/LEGAL\n\n", + "Diff to closest match 1:\n\n New unresolved matches in Mojolicious-7.25/LEGAL\n\n", 'additional snippets in same files'; is summary_delta( { @@ -584,7 +585,7 @@ subtest 'summary_delta' => sub { licenses => {} } ), - "Diff to closest match 1:\n\n New missed snippets in Mojolicious-7.25/COPYING and 1 file more\n\n", + "Diff to closest match 1:\n\n New unresolved matches in Mojolicious-7.25/COPYING and 1 file more\n\n", 'two new files'; is summary_delta( { @@ -606,7 +607,7 @@ subtest 'summary_delta' => sub { licenses => {} } ), - "Diff to closest match 1:\n\n New missed snippets in Mojolicious-7.25/COPYING and 2 files more\n\n", + "Diff to closest match 1:\n\n New unresolved matches in Mojolicious-7.25/COPYING and 2 files more\n\n", 'three new files'; }; };