Permalink
Browse files

Fix from RobertJ for the tests

svn path=/branches/mono-1-1-13/mcs/; revision=60552
  • Loading branch information...
1 parent 3e8a43a commit 3fb541562b6d0ac712bef16a1884d13cac6bdc1b @migueldeicaza migueldeicaza committed May 10, 2006
Showing with 3 additions and 3 deletions.
  1. +3 −3 mcs/class/corlib/Test/System.IO/FileStreamTest.cs
@@ -1161,10 +1161,10 @@ public void LengthAfterWrite ()
fs.Write (buffer, 0, buffer.Length);
fs.Seek (0, SeekOrigin.Begin);
char a = Convert.ToChar (fs.ReadByte ());
- Assert.AreEqual ('A', a, "#A1");
- Assert.AreEqual (23, fs.Length, "#A2");
+ AssertEquals ("#A1", 'A', a);
+ AssertEquals ("#A2", 23, fs.Length);
int nread = fs.Read (buffer, 0, 5);
- Assert.AreEqual (5, nread, "#A3");
+ AssertEquals ("#A3", 5, nread);
} finally {
if (fs != null)
fs.Close ();

0 comments on commit 3fb5415

Please sign in to comment.