diff options
author | Steve Harter <steveharter@users.noreply.github.com> | 2016-10-06 18:35:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 18:35:29 +0300 |
commit | a8b4cb2fa68b2c3e1703f176b8819b99f4ead67f (patch) | |
tree | 24bebb49ea03b667f514d0a86c9468043630f194 /src/System.Security.Cryptography.Encoding/tests/Oid.cs | |
parent | f88851644dde16929040b54f23fee4752ef7e9ec (diff) |
S.S.C.Algorithms and .Encoding ns2.0 misc additions (#12410)
Diffstat (limited to 'src/System.Security.Cryptography.Encoding/tests/Oid.cs')
-rw-r--r-- | src/System.Security.Cryptography.Encoding/tests/Oid.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/System.Security.Cryptography.Encoding/tests/Oid.cs b/src/System.Security.Cryptography.Encoding/tests/Oid.cs index d5211e5645..a0b85ce295 100644 --- a/src/System.Security.Cryptography.Encoding/tests/Oid.cs +++ b/src/System.Security.Cryptography.Encoding/tests/Oid.cs @@ -15,6 +15,12 @@ namespace System.Security.Cryptography.Encoding.Tests Oid oid = new Oid(""); Assert.Equal("", oid.Value); Assert.Null(oid.FriendlyName); + +#if netstandard17 + oid = new Oid(); + Assert.Null(oid.Value); + Assert.Null(oid.FriendlyName); +#endif } [Theory] |