This commit is contained in:
Phillip Webb
2015-07-06 13:04:59 -07:00
parent afd357f45a
commit 0cf6efca4f
10 changed files with 21 additions and 17 deletions

View File

@@ -356,8 +356,8 @@ public class ConfigurationMetadataAnnotationProcessorTests {
File additionalMetadataFile = createAdditionalMetadataFile();
FileCopyUtils.copy("Hello World", new FileWriter(additionalMetadataFile));
thrown.expect(IllegalStateException.class);
thrown.expectMessage("Compilation failed");
this.thrown.expect(IllegalStateException.class);
this.thrown.expectMessage("Compilation failed");
compile(SimpleProperties.class);
}