2002-10-22 Nick Drochak <ndrochak@gol.com>
authorNick Drochak <nickd@mono-cvs.ximian.com>
Mon, 21 Oct 2002 15:09:42 +0000 (15:09 -0000)
committerNick Drochak <nickd@mono-cvs.ximian.com>
Mon, 21 Oct 2002 15:09:42 +0000 (15:09 -0000)
* XmlTextWriterTests.cs: Null is ok when prefix is "xmlns".

svn path=/trunk/mcs/; revision=8446

mcs/class/System.XML/Test/ChangeLog
mcs/class/System.XML/Test/XmlTextWriterTests.cs

index d34c8f09e5f98728dbe08577de766f826d81407a..b30b15969e52cd28b53ed9a6825ec311a2f2d561 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-22  Nick Drochak  <ndrochak@gol.com>
+
+       * XmlTextWriterTests.cs: Null is ok when prefix is "xmlns".
+
 2002-10-21  Duncan Mak  <duncan@ximian.com>
 
        * XmlTextReaderTests.cs:
index a1f92e53f4d8313bd8b713f8fb512656665a7fdf..84978db255f33e9d27ce94b8d910252c950130ae 100644 (file)
@@ -87,9 +87,10 @@ namespace MonoTests.System.Xml
                        try 
                        {
                                xtw.WriteAttributeString ("xmlns", "xmlns", null, "http://abc.def");
-                               Fail ("Expected an ArgumentException to be thrown.");
                        } 
-                       catch (ArgumentException) {}
+                       catch (Exception e) {
+                               Fail ("Unexpected Exception thrown" + e);
+                       }
                }
 
                public void TestAttributeWriteAttributeString ()