diff --git a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/junit/xml/JUnitTestsShouldIncludeAssert.xml b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/junit/xml/JUnitTestsShouldIncludeAssert.xml index e38c17f86e..3c3ce7eabb 100644 --- a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/junit/xml/JUnitTestsShouldIncludeAssert.xml +++ b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/junit/xml/JUnitTestsShouldIncludeAssert.xml @@ -278,7 +278,7 @@ public class Foo_Test import org.junit.*; public class SimpleExpectedExceptionTest { @Rule - public ExpectedException thrown= ExpectedException.none(); + public ExpectedException thrown = ExpectedException.none(); @Test public void throwsExceptionWithSpecificType() { @@ -292,6 +292,23 @@ public class SimpleExpectedExceptionTest { thrown.expectMessage("Icon is null, not a file, or doesn't exist."); new DigitalAssetManager(null, null); } + } + ]]> + + + #285 Follow-up for @org.junit.Rule + 0 +