File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Tests/SwiftDocCTests/Model Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
This source file is part of the Swift.org open source project
3
3
4
- Copyright (c) 2021-2022 Apple Inc. and the Swift project authors
4
+ Copyright (c) 2021-2023 Apple Inc. and the Swift project authors
5
5
Licensed under Apache License v2.0 with Runtime Library Exception
6
6
7
7
See https://swift.org/LICENSE.txt for license information
@@ -370,7 +370,7 @@ class SemaToRenderNodeTests: XCTestCase {
370
370
XCTAssertEqual ( xcodeRequirementReference. url. absoluteString, " https://www.example.com/download " )
371
371
372
372
XCTAssertEqual ( downloadReference. identifier. identifier, " project.zip " )
373
- XCTAssertEqual ( downloadReference. sha512Checksum , " 2521bb27db3f8b72f8f2bb9e3a33698b9c5c72a5d7862f5b209794099e1cf0acaab7d8a47760b001cb508b5c4f3d7cf7f8ce1c32679b3fde223e63b5a1e7e509 " )
373
+ XCTAssertEqual ( downloadReference. checksum , " 2521bb27db3f8b72f8f2bb9e3a33698b9c5c72a5d7862f5b209794099e1cf0acaab7d8a47760b001cb508b5c4f3d7cf7f8ce1c32679b3fde223e63b5a1e7e509 " )
374
374
375
375
// This topic link didn't resolve, so it should not be in the references dictionary.
376
376
// Additionally, the link should've been rendered inactive, i.e. a text element instead of a link.
Original file line number Diff line number Diff line change 1
1
/*
2
2
This source file is part of the Swift.org open source project
3
3
4
- Copyright (c) 2022 Apple Inc. and the Swift project authors
4
+ Copyright (c) 2022-2023 Apple Inc. and the Swift project authors
5
5
Licensed under Apache License v2.0 with Runtime Library Exception
6
6
7
7
See https://swift.org/LICENSE.txt for license information
@@ -14,6 +14,7 @@ import XCTest
14
14
class SourceLanguageTests : XCTestCase {
15
15
func testUsesIDAliasesWhenQueryingFirstKnownLanguage( ) {
16
16
XCTAssertEqual ( SourceLanguage ( knownLanguageIdentifier: " objective-c " ) , . objectiveC)
17
+ XCTAssertEqual ( SourceLanguage ( knownLanguageIdentifier: " objc " ) , . objectiveC)
17
18
XCTAssertEqual ( SourceLanguage ( knownLanguageIdentifier: " c " ) , . objectiveC)
18
19
}
19
20
}
You can’t perform that action at this time.
0 commit comments