From 97a761615f6db3be5f87b258e5288c09d445942c Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 30 May 2010 20:17:05 +0000 Subject: tests: Extended wchar_t mode tests (broken UTF16 test, some tests were erroneously utf8-only), added final Xalan tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@475 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_xpath_xalan_4.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_xpath_xalan_4.cpp') diff --git a/tests/test_xpath_xalan_4.cpp b/tests/test_xpath_xalan_4.cpp index 681ac5f..10784da 100644 --- a/tests/test_xpath_xalan_4.cpp +++ b/tests/test_xpath_xalan_4.cpp @@ -4,7 +4,7 @@ TEST_XML(xpath_xalan_position_1, "1234") { - xml_node c = doc.child("doc"); + xml_node c = doc.child(STR("doc")); CHECK_XPATH_BOOLEAN(c, STR("position()=1"), true); CHECK_XPATH_NODESET(c, STR("*[position()=4]")) % 9; @@ -12,7 +12,7 @@ TEST_XML(xpath_xalan_position_1, "1234") TEST_XML_FLAGS(xpath_xalan_position_2, "111912632827256345", parse_default | parse_comments | parse_pi) { - xml_node c = doc.child("doc"); + xml_node c = doc.child(STR("doc")); CHECK_XPATH_NODESET(c, STR("*[@test and position()=8]")) % 27; CHECK_XPATH_NODESET(c, STR("*[@test][position()=4]/num")) % 29; -- cgit v1.2.3