We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a10ead commit dd6bbf9Copy full SHA for dd6bbf9
Tests/URLPatternTests/URLPatternTests.swift
@@ -130,7 +130,7 @@ final class URLPatternTests: XCTestCase {
130
}
131
132
static func isURLPathValue(_ string: String) -> Bool {
133
- return string.hasPrefix("{") && string.hasSuffix("}")
+ return string.hasPrefix("{") && string.hasSuffix("}") && string.utf16.count >= 3
134
135
136
""",
@@ -189,7 +189,7 @@ final class URLPatternTests: XCTestCase {
189
190
191
192
193
194
195
0 commit comments