Merge pull request #605 from Dmitry-Me/clarifyTestStrings

Clarify what is being tested
This commit is contained in:
Lee Thomason 2017-08-24 11:08:34 -07:00 committed by GitHub
commit 33883d6feb
1 changed files with 2 additions and 2 deletions

View File

@ -454,8 +454,8 @@ int main( int argc, const char ** argv )
XMLTest( "Programmatic DOM", 2, doc->FirstChildElement()->LastChildElement( "sub" )->IntAttribute( "attrib" ) );
XMLTest( "Programmatic DOM", "& Text!",
doc->FirstChildElement()->LastChildElement( "sub" )->FirstChild()->ToText()->Value() );
XMLTest("User data", true, &dummyValue == comment->GetUserData(), false);
XMLTest("User data", dummyInitialValue, dummyValue, false);
XMLTest("User data - pointer", true, &dummyValue == comment->GetUserData(), false);
XMLTest("User data - value behind pointer", dummyInitialValue, dummyValue, false);
// And now deletion:
element->DeleteChild( sub[2] );