sc/qa/unit/subsequent_export_test4.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 4a2378d81c0ef174164797ad3a2d2a71a89447ba Author: Aron Budea <aron.bu...@collabora.com> AuthorDate: Thu Mar 6 16:28:18 2025 +1030 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Mar 10 09:46:41 2025 +0100 tdf#165503: sc_subsequent_export_test4: Use precise XPath The previous one was working fine, too, but it was missing the last, single element in the path. Change-Id: I8d8d359436f52fd8d5397b29905747e40d5f8793 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182550 Tested-by: Jenkins Reviewed-by: Aron Budea <aron.bu...@collabora.com> (cherry picked from commit a3d767248392dd1acffd7b16b45b2841e410d528) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182708 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sc/qa/unit/subsequent_export_test4.cxx b/sc/qa/unit/subsequent_export_test4.cxx index 7cda356f6a14..4d14b4a7a5a4 100644 --- a/sc/qa/unit/subsequent_export_test4.cxx +++ b/sc/qa/unit/subsequent_export_test4.cxx @@ -2145,12 +2145,12 @@ CPPUNIT_TEST_FIXTURE(ScExportTest4, testTdf165503) // The textual date output can depend on locale, but it'll differ from expected value either way assertXPathContent(pChart1, "/c:chartSpace/c:chart/c:plotArea/c:lineChart/c:ser/c:cat/c:numRef/" - "c:numCache/c:pt[@idx=\"0\"]", + "c:numCache/c:pt[@idx=\"0\"]/c:v", u"44199"); // And similarly assertXPathContent(pChart1, "/c:chartSpace/c:chart/c:plotArea/c:lineChart/c:ser/c:cat/c:numRef/" - "c:numCache/c:pt[@idx=\"4\"]", + "c:numCache/c:pt[@idx=\"4\"]/c:v", u"44844"); // There should be no node with idx 5 (cell is empty)