[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System TestString.cs,1
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System TestString.cs,1.5,1.6 |
Date: |
Fri, 28 Mar 2003 01:54:01 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System
In directory subversions:/tmp/cvs-serv26561/tests/runtime/System
Modified Files:
TestString.cs
Log Message:
Minor compatibility fixes in System.String.
Index: TestString.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/TestString.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** TestString.cs 27 Nov 2002 14:37:27 -0000 1.5
--- TestString.cs 28 Mar 2003 06:53:59 -0000 1.6
***************
*** 198,202 ****
Fail("str1.CopyTo(0,(char[])null,0,0) should have
throws a ArgumentNullException");
}
! catch(NullReferenceException err)
{
//worked !
--- 198,202 ----
Fail("str1.CopyTo(0,(char[])null,0,0) should have
throws a ArgumentNullException");
}
! catch(ArgumentNullException err)
{
//worked !
***************
*** 283,291 ****
{
String.Format("Er..",null);
! Fail("String.Format(\"Er...\",null) should throw an
ArgumentNullException");
}
catch(ArgumentNullException err)
{
! // all's well
}
--- 283,291 ----
{
String.Format("Er..",null);
! // all's well
}
catch(ArgumentNullException err)
{
! Fail("String.Format(\"Er...\",null) should not throw an
ArgumentNullException");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System TestString.cs,1.5,1.6,
Rhys Weatherley <address@hidden> <=