Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Tests/RegexBuilderTests/RegexDSLTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1831,7 +1831,6 @@ fileprivate let regexWithNonCapture = #/:(?:\d+):/#
@available(SwiftStdlib 5.7, *)
extension RegexDSLTests {
func testLabeledCaptures_regularCapture() throws {
return
// The output type of a regex with unlabeled captures is concatenated.
let dslWithCapture = Regex {
OneOrMore(.word)
Expand All @@ -1846,7 +1845,6 @@ extension RegexDSLTests {
}

func testLabeledCaptures_labeledCapture() throws {
return
guard #available(macOS 13, *) else {
throw XCTSkip("Fix only exists on macOS 13")
}
Expand All @@ -1870,7 +1868,6 @@ extension RegexDSLTests {
}

func testLabeledCaptures_coalescingWithCapture() throws {
return
let coalescingWithCapture = Regex {
"e" as Character
#/\u{301}(\d*)/#
Expand All @@ -1887,7 +1884,6 @@ extension RegexDSLTests {
}

func testLabeledCaptures_bothCapture() throws {
return
guard #available(macOS 13, *) else {
throw XCTSkip("Fix only exists on macOS 13")
}
Expand Down