[ 
https://issues.apache.org/jira/browse/MPMD-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold resolved MPMD-410.
----------------------------------------
    Resolution: Fixed

> Found 1 PMD processing errors
> -----------------------------
>
>                 Key: MPMD-410
>                 URL: https://issues.apache.org/jira/browse/MPMD-410
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Assignee: Elliotte Rusty Harold
>            Priority: Trivial
>              Labels: good-first-issue
>
> Pet peeve: It's "1 processing error", not "1 processing errors". 1 does not 
> take a plural. In PMdreportTest and whatever generates this
> ```
>     public void testPMDProcessingError() throws Exception {
>         try {
>             generateReport(getGoal(), 
> "processing-error/pmd-processing-error-plugin-config.xml");
>             fail("Expected exception");
>         } catch (MojoExecutionException e) {
>             assertTrue(e.getCause().getMessage().endsWith("Found 1 PMD 
> processing errors"));
>         }
>     }
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to