From 41e574f9001e986458336638261160cfe9a71572 Mon Sep 17 00:00:00 2001 From: handymenny Date: Sun, 18 Aug 2024 12:00:39 +0200 Subject: [PATCH] tshark test: improve compatibility with future versions --- .../uecapabilityparser/importer/TsharkTest.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/test/java/it/smartphonecombo/uecapabilityparser/importer/TsharkTest.kt b/src/test/java/it/smartphonecombo/uecapabilityparser/importer/TsharkTest.kt index d2020ddb..5cc73be3 100644 --- a/src/test/java/it/smartphonecombo/uecapabilityparser/importer/TsharkTest.kt +++ b/src/test/java/it/smartphonecombo/uecapabilityparser/importer/TsharkTest.kt @@ -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(