mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-15 14:19:29 +00:00
Remove UTs expecting exception
This commit is contained in:
@@ -119,16 +119,5 @@ namespace SystemExtensions.NetStandard.Security.Tests
|
||||
|
||||
ss1.Should().Be(ss2);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void SecureString_ChangingEntropy_ThrowsOnPreviousValue()
|
||||
{
|
||||
var ss1 = new SecureString("Hello");
|
||||
SecureString.AddOptionalEntropy(new byte[] { 10, 20, 25, 34, 56, 12, 10, 81, 200, 155, 123, 144, 123, 192, 122, 1 });
|
||||
|
||||
var action = new Func<string>(() => ss1.Value);
|
||||
|
||||
action.Should().Throw<Exception>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user