Skip to content

Commit 1629a68

Browse files
committed
Refactor exception message test
1 parent f535213 commit 1629a68

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
@@ -63,7 +63,7 @@ public class FontProgramTest {
6363
@Test
6464
public void exceptionMessageTest() throws IOException {
6565
junitExpectedException.expect(java.io.IOException.class);
66-
junitExpectedException.expectMessage(MessageFormatUtil.format("{0} not found as file or resource", notExistingFont));
66+
junitExpectedException.expectMessage(MessageFormatUtil.format(com.itextpdf.io.IOException._1NotFoundAsFileOrResource, notExistingFont));
6767
FontProgramFactory.createFont(notExistingFont);
6868
}
6969

0 commit comments

Comments
 (0)