From bbc6e238a64cbda95cbeaaccd7c3cd62b328f5f0 Mon Sep 17 00:00:00 2001 From: Aurelius Prochazka Date: Thu, 4 Aug 2022 13:25:56 -0700 Subject: [PATCH] Get rid of unsafe flags --- Package.swift | 2 +- Tests/TonicTests/BitSetTests.swift | 2 +- Tests/TonicTests/ChordTests.swift | 2 +- Tests/TonicTests/IntervalTests.swift | 2 +- Tests/TonicTests/KeyTests.swift | 2 +- Tests/TonicTests/NoteTests.swift | 2 +- Tests/TonicTests/PerformanceTests.swift | 2 +- Tests/TonicTests/ReadMeTests.swift | 2 +- Tests/TonicTests/TonicTests.swift | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Package.swift b/Package.swift index 750a10a..fb1d137 100644 --- a/Package.swift +++ b/Package.swift @@ -6,7 +6,7 @@ let package = Package( name: "Tonic", products: [.library(name: "Tonic", targets: ["Tonic"])], targets: [ - .target(name: "Tonic", swiftSettings: [.unsafeFlags(["-enable-testing", "-g"])]), + .target(name: "Tonic"), .testTarget(name: "TonicTests", dependencies: ["Tonic"]), ] ) diff --git a/Tests/TonicTests/BitSetTests.swift b/Tests/TonicTests/BitSetTests.swift index cb535d9..be7f16b 100644 --- a/Tests/TonicTests/BitSetTests.swift +++ b/Tests/TonicTests/BitSetTests.swift @@ -1,6 +1,6 @@ import XCTest -@testable import Tonic +import Tonic class BitSetTests: XCTestCase { diff --git a/Tests/TonicTests/ChordTests.swift b/Tests/TonicTests/ChordTests.swift index 29d874c..a9a7691 100644 --- a/Tests/TonicTests/ChordTests.swift +++ b/Tests/TonicTests/ChordTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import Tonic +import Tonic class ChordTests: XCTestCase { diff --git a/Tests/TonicTests/IntervalTests.swift b/Tests/TonicTests/IntervalTests.swift index 5fd5588..9585623 100644 --- a/Tests/TonicTests/IntervalTests.swift +++ b/Tests/TonicTests/IntervalTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import Tonic +import Tonic final class IntervalTests: XCTestCase { func testIntervalBetween() { diff --git a/Tests/TonicTests/KeyTests.swift b/Tests/TonicTests/KeyTests.swift index ee72b76..3cd04e8 100644 --- a/Tests/TonicTests/KeyTests.swift +++ b/Tests/TonicTests/KeyTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import Tonic +import Tonic class KeyTests: XCTestCase { diff --git a/Tests/TonicTests/NoteTests.swift b/Tests/TonicTests/NoteTests.swift index db74af0..5252b14 100644 --- a/Tests/TonicTests/NoteTests.swift +++ b/Tests/TonicTests/NoteTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import Tonic +import Tonic final class NoteTests: XCTestCase { diff --git a/Tests/TonicTests/PerformanceTests.swift b/Tests/TonicTests/PerformanceTests.swift index ef625e2..c3aa5b5 100644 --- a/Tests/TonicTests/PerformanceTests.swift +++ b/Tests/TonicTests/PerformanceTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import Tonic +import Tonic final class PerformanceTests: XCTestCase { diff --git a/Tests/TonicTests/ReadMeTests.swift b/Tests/TonicTests/ReadMeTests.swift index 9303c3f..a13ff97 100644 --- a/Tests/TonicTests/ReadMeTests.swift +++ b/Tests/TonicTests/ReadMeTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import Tonic +import Tonic final class ReadMeTests: XCTestCase { diff --git a/Tests/TonicTests/TonicTests.swift b/Tests/TonicTests/TonicTests.swift index 7560410..420f383 100644 --- a/Tests/TonicTests/TonicTests.swift +++ b/Tests/TonicTests/TonicTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import Tonic +import Tonic final class TonicTests: XCTestCase {