Skip to content

Commit 6034a90

Browse files
committed
print("here, really")
1 parent e71ac84 commit 6034a90

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Tests/RegexTests/UTS18Tests.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,15 @@ extension UTS18Tests {
305305
XCTAssertNotNil(lineInput.firstMatch(
306306
of: regex(#"08..09"#).matchingSemantics(.unicodeScalar).dotMatchesNewlines()))
307307

308-
for _ in 0..<10 { print("---") }
308+
for _ in 0..<5 { print("---") }
309309
for (i, s) in lineInput.unicodeScalars.enumerated() {
310310
print("\(i): scalar U+\(s.value4Digits)")
311311
}
312-
for _ in 0..<10 { print("---") }
312+
for _ in 0..<5 { print("---") }
313+
for match in lineInput.matches(of: regex(#"\v"#).matchingSemantics(.unicodeScalar)) {
314+
print(lineInput.unicodeScalars.offsets(of: match.0.startIndex..<match.0.endIndex))
315+
}
316+
for _ in 0..<5 { print("---") }
313317

314318
// Does not contain an empty line
315319
XCTAssertFalse(lineInput.contains(regex(#"^$"#)))

0 commit comments

Comments
 (0)