Skip to content

Commit 694f1a3

Browse files
IdamkinIitext-teamcity
authored andcommitted
Refactor exception message test
Autoported commit. Original commit hash: [1629a68f9]
1 parent d986566 commit 694f1a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

itext.tests/itext.io.tests/itext/io/font/FontProgramTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public virtual void ExceptionMessageTest() {
5454
NUnit.Framework.Assert.That(() => {
5555
FontProgramFactory.CreateFont(notExistingFont);
5656
}
57-
, NUnit.Framework.Throws.TypeOf<System.IO.IOException>().With.Message.EqualTo(MessageFormatUtil.Format("{0} not found as file or resource", notExistingFont)));
57+
, NUnit.Framework.Throws.TypeOf<System.IO.IOException>().With.Message.EqualTo(MessageFormatUtil.Format(iText.IO.IOException._1NotFoundAsFileOrResource, notExistingFont)));
5858
;
5959
}
6060

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f5352136ce8287c5e5f5af3e88631fa271305744
1+
1629a68f9dc12444295eb1bd55cbdaa66096f558

0 commit comments

Comments
 (0)