Commit 7ded3f25 authored by Brickner_cp's avatar Brickner_cp

Improve TCP tests.

parent da9e87ef
......@@ -184,7 +184,8 @@ namespace PcapDotNet.Core.Test
Assert.IsTrue(
field.Show().StartsWith("Unknown (0x0a) ") || // Unknown in Wireshark but known (and invalid) in Pcap.Net
field.Show().Contains("bytes says option goes past end of options") ||
field.Show().Contains(") (with too-short option length = "),
field.Show().Contains(") (with too-short option length = ") ||
field.Show().EndsWith(" (length byte past end of options)"),
"Options show: " + field.Show());
Assert.AreEqual(options.Count, currentOptionIndex, "Options Count");
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment