Skip to content

Commit

Permalink
tshark test: improve compatibility with future versions
Browse files Browse the repository at this point in the history
  • Loading branch information
handymenny committed Aug 18, 2024
1 parent 4ddeb30 commit 41e574f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ internal class TsharkTest {
return lines
.dropLastWhile { it.isBlank() }
.mapNotNull {
if (it.startsWith("DLT") || it.endsWith("") || it.contains("[truncated]")) {
if (
it.startsWith("DLT") ||
it.endsWith("") ||
it.contains("[truncated]") ||
it.contains("[…]")
) {
null
} else if (it.contains("maxNumberConfiguredTCIstatesPerCC")) {
it.replace(
Expand Down

0 comments on commit 41e574f

Please sign in to comment.