Skip to content

Commit 4f43500

Browse files
authored
Revert "mask out tests that are failing on Linux (#996)" (#1001)
This reverts commit 3d58514.
1 parent f8d16c5 commit 4f43500

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Tests/SwiftDocCTests/LinkTargets/LinkDestinationSummaryTests.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,7 @@ class ExternalLinkableTests: XCTestCase {
436436
XCTAssertEqual(decoded, summary)
437437
}
438438
}
439-
440-
// TODO: Remove this #if once https://github.com/apple/swift-corelibs-foundation/issues/5028 is resolved
441-
#if os(macOS)
439+
442440
func testVariantSummaries() throws {
443441
let (bundle, context) = try testBundleAndContext(named: "MixedLanguageFramework")
444442
let converter = DocumentationNodeConverter(bundle: bundle, context: context)
@@ -593,8 +591,7 @@ class ExternalLinkableTests: XCTestCase {
593591
XCTAssertEqual(decoded, summary)
594592
}
595593
}
596-
#endif
597-
594+
598595
func testDecodingLegacyData() throws {
599596
let legacyData = """
600597
{

Tests/SwiftDocCUtilitiesTests/ConvertActionTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ import Markdown
1717
@testable import SwiftDocCTestUtilities
1818

1919
class ConvertActionTests: XCTestCase {
20-
// TODO: Change this back to `#if !os(iOS)` once https://github.com/apple/swift-corelibs-foundation/issues/5028 is resolved
21-
#if os(macOS)
20+
#if !os(iOS)
2221
let imageFile = Bundle.module.url(
2322
forResource: "TestBundle", withExtension: "docc", subdirectory: "Test Bundles")!
2423
.appendingPathComponent("figure1.png")

0 commit comments

Comments
 (0)