Skip to content

Commit ab19b14

Browse files
committed
Update NamespacedXmlTests.cs
1 parent 26d134c commit ab19b14

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

RestSharp.Tests/NamespacedXmlTests.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#region Licensed
1+
#region Licensed
22
// Copyright 2010 John Sheehan
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -253,7 +253,11 @@ private static string CreateElementsXml() {
253253
new XElement(ns + "Since", DateTime.Now.Year - i)
254254
));
255255
}
256-
root.Add(friends);
256+
root.Add(friends);
257+
258+
root.Add(new XElement(ns + "FavoriteBand",
259+
new XElement(ns + "Name", "Goldfinger")
260+
));
257261

258262
doc.Add(root);
259263
return doc.ToString();

0 commit comments

Comments
 (0)