Revert "Refresh HashAlgorithmTest to match changed NullStream behaviour in 8b9c60075f...
authorSebastien Pouliot <sebastien@xamarin.com>
Thu, 2 Oct 2014 17:44:58 +0000 (13:44 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Thu, 2 Oct 2014 17:44:58 +0000 (13:44 -0400)
This reverts commit 7ece665d16714db0979bde5df254231c5be24f10.

mcs/class/corlib/Test/System.Security.Cryptography/HashAlgorithmTest.cs

index 54a7c42238fed25d6a1b312184884524e36ed7cf..9feea2b3385acd7eb8e93b514d86293ed0adf85e 100644 (file)
@@ -138,7 +138,7 @@ public class HashAlgorithmTest {
        }
 
        [Test]
-       [ExpectedException (typeof (ArgumentNullException))]
+       [ExpectedException (typeof (NullReferenceException))]
        public void NullStream () 
        {
                Stream s = null;