1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import XCTest
@testable import OldFella
final class AboutLinksTests: XCTestCase {
func testAboutLinksPointToSourceAndLicenseTexts() {
XCTAssertEqual(AboutLinks.repository.absoluteString, "https://knotless.dev/geesawra.industries/old-fella")
XCTAssertEqual(
AboutLinks.appLicense.absoluteString, "https://knotless.dev/geesawra.industries/old-fella/blob/main/LICENSE"
)
XCTAssertEqual(
AboutLinks.atProtoKitLicense.absoluteString,
"https://github.com/MasterJ93/ATProtoKit/blob/0.34.1/LICENSE.md")
XCTAssertEqual(
AboutLinks.swiftLogLicense.absoluteString, "https://github.com/apple/swift-log/blob/1.16.2/LICENSE.txt")
XCTAssertEqual(
AboutLinks.emojiKitLicense.absoluteString, "https://github.com/danielsaidi/EmojiKit/blob/3.1.0/LICENSE")
XCTAssertEqual(
AboutLinks.swiftLogNotice.absoluteString, "https://github.com/apple/swift-log/blob/1.16.2/NOTICE.txt")
}
}