From d525ff73e1f8b434b52d585b7dca12eba1b5c73c Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Thu, 2 Oct 2014 13:44:58 -0400 Subject: [PATCH] Revert "Refresh HashAlgorithmTest to match changed NullStream behaviour in 8b9c60075f7b97fe88c3c588968977ff9bcf8c28" This reverts commit 7ece665d16714db0979bde5df254231c5be24f10. --- .../Test/System.Security.Cryptography/HashAlgorithmTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcs/class/corlib/Test/System.Security.Cryptography/HashAlgorithmTest.cs b/mcs/class/corlib/Test/System.Security.Cryptography/HashAlgorithmTest.cs index 54a7c42238f..9feea2b3385 100644 --- a/mcs/class/corlib/Test/System.Security.Cryptography/HashAlgorithmTest.cs +++ b/mcs/class/corlib/Test/System.Security.Cryptography/HashAlgorithmTest.cs @@ -138,7 +138,7 @@ public class HashAlgorithmTest { } [Test] - [ExpectedException (typeof (ArgumentNullException))] + [ExpectedException (typeof (NullReferenceException))] public void NullStream () { Stream s = null; -- 2.25.1