fix xml issue:49339811/49171054/49294030/49405058/49424328

This commit is contained in:
obdev
2023-05-05 11:45:32 +00:00
committed by ob-robot
parent d0162343f0
commit a933ef50d3
5 changed files with 33 additions and 15 deletions

View File

@ -809,7 +809,7 @@ TEST_F(TestXPath, test_seek_root)
ASSERT_EQ(OB_SUCCESS, ret);
ObStringBuffer buf_str(&allocator);
ObXmlNode* xnode = static_cast<ObXmlNode*>(res);
xnode->print_document(buf_str, type, false);
xnode->print_document(buf_str, type, ObXmlFormatType::NO_FORMAT);
ObString s(buf_str.ptr());
ASSERT_EQ(s, seek_root[i]);
std::cout<<i<<": "<<s.ptr()<<std::endl;