Kaydet (Commit) a9118665 authored tarafından Justin Luth's avatar Justin Luth

tdf#99227: remove unneeded specificity in unit test

The unit test should only be ensuring that the drawing is in
the footnote, not that it is located in the 5th character portion.

Change-Id: I58040dc3498b2e78000891a26b7188dfac6c72f7
Reviewed-on: https://gerrit.libreoffice.org/37906Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
üst 6b417ec3
......@@ -461,7 +461,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf99227, "tdf99227.docx")
if (!pXmlDoc)
return;
assertXPath(pXmlDoc, "//w:footnote[3]/w:p/w:r[5]/w:drawing", 1);
assertXPath(pXmlDoc, "//w:footnote/w:p/w:r/w:drawing", 1);
}
DECLARE_OOXMLEXPORT_TEST(testTdf104162, "tdf104162.docx")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment