summaryrefslogtreecommitdiff
path: root/test/qa/cppunit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-14 09:10:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-14 11:47:53 +0200
commit008f4273ae201b5bebfd728a3b59958de49279bf (patch)
tree01bbd1f8b86ae9adc034b3273dbf5e6f6ff70df1 /test/qa/cppunit
parentb56ca52cef77d4d1f99bc3edd89b2557e5cb2cfb (diff)
loplugin:ostr in test
Change-Id: Ie261167fc3e1ed9073210e0f8b179455da340c83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167620 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'test/qa/cppunit')
-rw-r--r--test/qa/cppunit/test_xpath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/qa/cppunit/test_xpath.cxx b/test/qa/cppunit/test_xpath.cxx
index 8d105dd4eae6..18d815a2420b 100644
--- a/test/qa/cppunit/test_xpath.cxx
+++ b/test/qa/cppunit/test_xpath.cxx
@@ -33,7 +33,7 @@ CPPUNIT_TEST_FIXTURE(TestXPath, test_getXPath)
// Must fail when requested non-empty attribute doesn't exist
CPPUNIT_ASSERT_ASSERTION_FAIL(getXPath(pTable, "/xml/item"_ostr, "no_attrib"_ostr));
// Must properly return attribute content
- CPPUNIT_ASSERT_EQUAL(OUString("val"), getXPath(pTable, "/xml/item"_ostr, "attrib"_ostr));
+ CPPUNIT_ASSERT_EQUAL(u"val"_ustr, getXPath(pTable, "/xml/item"_ostr, "attrib"_ostr));
// Trying to get position of missing child of a node must fail assertion
CPPUNIT_ASSERT_ASSERTION_FAIL(getXPathPosition(pTable, "/xml/item"_ostr, "absent"));
// Asserting that an attribute is absent