Corrected based on generic param changes

pull/83/head
David Hall 2019-09-17 09:06:52 -06:00
parent 96a7b027d6
commit b92189b32d
1 changed files with 0 additions and 1 deletions

View File

@ -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);