Input with unnamed package moved to resources-noncompilable folder

This commit is contained in:
alexkravin 2014-12-05 17:31:26 +04:00 committed by Roman Ivanov
parent 8d88dde6f3
commit 8ee92d2ab3
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ public class PackageDeclarationCheckTest extends BaseCheckTestSupport
"4: Missing package declaration.",
};
verify(checkConfig, getPath("coding" + File.separator + "InputNoPackage.java"), expected);
verify(checkConfig, new File("src/test/resources-noncompilable/com/puppycrawl/tools/"
+ "checkstyle/coding/InputNoPackage.java").getCanonicalPath(), expected);
}
}