diff options
author | Miguel de Icaza <miguel@gnome.org> | 2006-05-10 23:58:44 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2006-05-10 23:58:44 +0400 |
commit | 3fb541562b6d0ac712bef16a1884d13cac6bdc1b (patch) | |
tree | fcd4132b96bd127f543a892553ab09d35c288353 /mcs | |
parent | 3e8a43adfbab908c1daab4d0d629c1984b4b5b06 (diff) |
Fix from RobertJ for the tests
svn path=/branches/mono-1-1-13/mcs/; revision=60552
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/corlib/Test/System.IO/FileStreamTest.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/corlib/Test/System.IO/FileStreamTest.cs b/mcs/class/corlib/Test/System.IO/FileStreamTest.cs index d8b2927ba25..2cf75a9379c 100644 --- a/mcs/class/corlib/Test/System.IO/FileStreamTest.cs +++ b/mcs/class/corlib/Test/System.IO/FileStreamTest.cs @@ -1161,10 +1161,10 @@ namespace MonoTests.System.IO 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 (); |