Skip to content

Commit

Permalink
[Heap] Disable heap tests in release builds (#100)
Browse files Browse the repository at this point in the history
These tests rely on @testable imports, which sadly won't work in optimized builds.
  • Loading branch information
lorentey authored Sep 8, 2021
1 parent 5762a3a commit ead0916
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/PriorityQueueTests/HeapTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//
//===----------------------------------------------------------------------===//

#if DEBUG
import XCTest
@testable import PriorityQueueModule

Expand Down Expand Up @@ -419,3 +420,4 @@ final class HeapTests: XCTestCase {
}
}
}
#endif

0 comments on commit ead0916

Please sign in to comment.