From 51b2114e615a47253c0dddcee574e2731f4afe82 Mon Sep 17 00:00:00 2001 From: Michal Kordas Date: Sun, 26 Apr 2015 16:29:38 +0200 Subject: [PATCH] Fix AnnotationLocation violation in Checkstyle codebase, issue #945 --- config/checkstyle_checks.xml | 1 + .../checkstyle/checks/regexp/RegexpMultilineCheckTest.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/checkstyle_checks.xml b/config/checkstyle_checks.xml index c67adabf8..d77094fd3 100644 --- a/config/checkstyle_checks.xml +++ b/config/checkstyle_checks.xml @@ -226,6 +226,7 @@ + diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheckTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheckTest.java index 548b84c85..eac850751 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheckTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheckTest.java @@ -97,7 +97,8 @@ public class RegexpMultilineCheckTest extends BaseFileSetCheckTestSupport } // Need to fix the line endings in the input file - @Ignore @Test + @Ignore + @Test public void testCarriageReturn() throws Exception { final String illegal = "\\r";