|
@@ -3,7 +3,7 @@
|
|
* Company: Lynar Studios
|
|
* Company: Lynar Studios
|
|
* E-Mail: webmaster@lynarstudios.com
|
|
* E-Mail: webmaster@lynarstudios.com
|
|
* Created: 2020-09-30
|
|
* Created: 2020-09-30
|
|
- * Changed: 2023-05-17
|
|
|
|
|
|
+ * Changed: 2023-05-18
|
|
*
|
|
*
|
|
* */
|
|
* */
|
|
|
|
|
|
@@ -47,7 +47,7 @@ namespace
|
|
XmlDocument document{};
|
|
XmlDocument document{};
|
|
ASSERT_TRUE(document.getDeclaration() == nullptr);
|
|
ASSERT_TRUE(document.getDeclaration() == nullptr);
|
|
|
|
|
|
- document.setDeclaration(make_shared<XmlDeclaration>(XmlDeclaration{"1.0"}));
|
|
|
|
|
|
+ document.setDeclaration(make_shared<XmlDeclaration>("1.0"));
|
|
ASSERT_TRUE(document.getDeclaration() != nullptr);
|
|
ASSERT_TRUE(document.getDeclaration() != nullptr);
|
|
ASSERT_STREQ("1.0", document.getDeclaration()->getVersion().c_str());
|
|
ASSERT_STREQ("1.0", document.getDeclaration()->getVersion().c_str());
|
|
}
|
|
}
|