mirror of https://github.com/dahall/Vanara.git
Corrected based on generic param changes
parent
96a7b027d6
commit
b92189b32d
|
@ -10,7 +10,6 @@ namespace Vanara.Extensions.Tests
|
|||
public void EnumFlagIndexerTest()
|
||||
{
|
||||
Assert.That(() => { EnumFlagIndexer<ConsoleColor> e = ConsoleColor.Black; }, Throws.ArgumentException);
|
||||
Assert.That(() => { EnumFlagIndexer<int> e1 = 0; }, Throws.ArgumentException);
|
||||
var efi = new EnumFlagIndexer<GenericUriParserOptions>();
|
||||
Assert.That((GenericUriParserOptions)efi, Is.EqualTo(GenericUriParserOptions.Default));
|
||||
efi = new EnumFlagIndexer<GenericUriParserOptions>(GenericUriParserOptions.Idn);
|
||||
|
|
Loading…
Reference in New Issue