From fabd59b7d1540900bd64590646c73c917706ecd8 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 15 Dec 2025 11:30:47 +0100 Subject: Increase coverage of tests --- Sources/WmapParser/ComponentParser.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Sources/WmapParser/ComponentParser.swift') diff --git a/Sources/WmapParser/ComponentParser.swift b/Sources/WmapParser/ComponentParser.swift index 79f5493..d87abc5 100644 --- a/Sources/WmapParser/ComponentParser.swift +++ b/Sources/WmapParser/ComponentParser.swift @@ -1,6 +1,7 @@ extension WmapParser { - /// Parses a component with its coordinates. + /// Parses a component with its coordinates. Assumes a trimmed line was + /// provided. static func parseComponent(_ bytes: T, _ start: Int, _ end: Int) -> Component? where T.Element == UInt8, T.Index == Int { guard let (label, parenthesisIndex) = extractComponentLabel(bytes, start, end) else { -- cgit