diff options
Diffstat (limited to 'src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java')
-rw-r--r-- | src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java index a2a1227fe..909fed3ee 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java @@ -511,16 +511,16 @@ public class ConfigurationLoaderTest extends AbstractPathTestSupport { } @Test - public void testNonExistingPropertyName() throws Exception { + public void testNonExistentPropertyName() throws Exception { try { - loadConfiguration("InputConfigurationLoaderNonexistingProperty.xml"); + loadConfiguration("InputConfigurationLoaderNonexistentProperty.xml"); fail("exception in expected"); } catch (CheckstyleException ex) { assertEquals("Invalid exception message", "unable to parse configuration stream", ex.getMessage()); assertEquals("Invalid exception cause message", - "Property ${nonexisting} has not been set", + "Property ${nonexistent} has not been set", ex.getCause().getMessage()); } } |