You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interpret issue/pr links like GitHub does in markdown (#165)
* use 'package' instead of 'public'
* move 'Fake' into 'PennyTests'
* remove 'package' attributes in 'Fake' folder
* remove import Fake s
* done
* make the regex more resistant to failure
Copy file name to clipboardExpand all lines: Tests/PennyTests/Tests/GHHooksTests.swift
+21
Original file line number
Diff line number
Diff line change
@@ -502,6 +502,27 @@ class GHHooksTests: XCTestCase {
502
502
There should be no more `Sendable` warnings in Vapor, even with complete concurrency checking turned on.
503
503
""")
504
504
}
505
+
506
+
/// Test modifying GitHub links
507
+
do{
508
+
lettext="""
509
+
Final stage of Vapor’s `Sendable` journey as `Request` is now `Sendable` at https://github.com/swift-server/swiftly/pull/9.
510
+
511
+
There should https://github.com/vapor-bad-link/issues/44 be no more `Sendable` warnings in Vaporhttps://github.com/vapor/penny-bot/issues/98, even with complete concurrency checking turned on.
512
+
"""
513
+
514
+
letformatted= text.formatMarkdown(
515
+
maxVisualLength:512,
516
+
hardLimit:2_048,
517
+
trailingTextMinLength:128
518
+
)
519
+
520
+
XCTAssertMultilineStringsEqual(formatted,"""
521
+
Final stage of Vapor’s `Sendable` journey as `Request` is now `Sendable` at [swift-server/swiftly#9](https://github.com/swift-server/swiftly/pull/9).
522
+
523
+
There should https://github.com/vapor-bad-link/issues/44 be no more `Sendable` warnings in Vapor[vapor/penny-bot#98](https://github.com/vapor/penny-bot/issues/98), even with complete concurrency checking turned on.
0 commit comments