Skip to content

Commit aba8751

Browse files
committed
Refactor exception message test
1 parent 86b0587 commit aba8751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/src/test/java/com/itextpdf/io/font/FontProgramTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public class FontProgramTest {
6262
@Test
6363
public void exceptionMessageTest() throws IOException {
6464
junitExpectedException.expect(java.io.IOException.class);
65-
junitExpectedException.expectMessage(MessageFormatUtil.format("{0} not found as file or resource", notExistingFont));
65+
junitExpectedException.expectMessage(MessageFormatUtil.format(com.itextpdf.io.IOException._1NotFoundAsFileOrResource, notExistingFont));
6666
FontProgramFactory.createFont(notExistingFont);
6767
}
6868

0 commit comments

Comments
 (0)