Commented out unreachable code.

pull/10/head
David Hall 2018-01-15 09:44:45 -07:00
parent 668b2e09b8
commit ce752d090f
1 changed files with 3 additions and 3 deletions

View File

@ -222,9 +222,9 @@ namespace Vanara.PInvoke.Tests
public void GetIfEntry2ExTest()
{
return;
var row = new MIB_IF_ROW2(primaryAdapter.IfIndex);
Assert.That(GetIfEntry2Ex(MIB_IF_ENTRY_LEVEL.MibIfEntryNormalWithoutStatistics, ref row), Is.Zero);
Assert.That(row.InterfaceLuid, Is.EqualTo(primaryAdapter.Luid));
//var row = new MIB_IF_ROW2(primaryAdapter.IfIndex);
//Assert.That(GetIfEntry2Ex(MIB_IF_ENTRY_LEVEL.MibIfEntryNormalWithoutStatistics, ref row), Is.Zero);
//Assert.That(row.InterfaceLuid, Is.EqualTo(primaryAdapter.Luid));
}
[Test]