Skip to content

Commit 4bf468f

Browse files
committed
🚨 Fix linter warnings
1 parent 5975f30 commit 4bf468f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Sources/Model/Service.swift

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ enum Service: String, Codable, ExpressibleByArgument {
66

77
private static let servicePatterns: [Service: String] = [
88
Service.meet: #"https:\/\/meet\.google\.com/[a-z]{3}-[a-z]{4}-[a-z]{3}"#,
9+
// swiftlint:disable:next line_length
910
Service.zoom: #"https://(?:[a-zA-Z0-9-.]+)?zoom\.(?:us|com|com\.cn|de)\/(?:my|[a-z]{1,2}|webinar)\/[-a-zA-Z0-9()@:%_\+.~#?&=\/]*"#,
1011
Service.teams: #"https:\/\/teams\.microsoft\.com\/l\/meetup-join\/[a-zA-Z0-9_%\/=\-\+\.?]+"#,
1112
]

Tests/ServiceTests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import Testing
2727
}
2828

2929
@Test func testTeamsNotes() {
30+
// swiftlint:disable:next line_length
3031
let input = "https://teams.microsoft.com/l/meetup-join/19%3ameeting_MzI2YmRlNTgtMTU0MC00NmNhLWIzMmQtODg0ZGVmMGEwOTc3%40thread.v2/0?context=%7b%22Tid%22%3a%22c2ad6337-37a8-446a-ba48-18f44ea87c3d%22%2c%22Oid%22%3a%2230e7d7d2-057e-4d2f-8fa5-0475c962dded%22%7d"
3132
let output = Service.fromNotes(notes: input)
3233
let expected: [Service: String] = [Service.teams: input]

0 commit comments

Comments
 (0)