Merge branch '1.5.x'

This commit is contained in:
Stephane Nicoll
2017-03-28 10:27:31 +02:00
3 changed files with 6 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ public class LayoutsTests {
@Test
public void unknownFile() throws Exception {
this.thrown.equals(IllegalStateException.class);
this.thrown.expect(IllegalStateException.class);
this.thrown.expectMessage("Unable to deduce layout for 'test.txt'");
Layouts.forFile(new File("test.txt"));
}