Suppress wrong root element in tests. #1555

This commit is contained in:
Michal Kordas 2015-08-05 21:20:34 +02:00 committed by Roman Ivanov
parent f7f377f506
commit 0dbbf3b83a
2 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,7 @@ public class ConfigurationLoaderTest {
assertTrue(
ex.getMessage().endsWith(
"Document root element \"property\", must match DOCTYPE "
+ "root \"module\".:7:38"));
+ "root \"module\".:8:38"));
}
}

View File

@ -4,5 +4,6 @@
"-//Puppy Crawl//DTD Check Configuration 1.1//EN"
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
<!--suppress XmlWrongRootElement - wrong element used for test purposes -->
<property name="tabWidth" value="4"/>