From 4fb8972ec77aba22fd1f8a619655d285bf6c1909 Mon Sep 17 00:00:00 2001 From: Carlo Eugster Date: Fri, 11 Nov 2022 09:54:26 +0100 Subject: [PATCH] Fix unit tests --- Tests/LinuxMain.swift | 7 ------- Tests/duotoneTests/FileFormatTests.swift | 1 + Tests/duotoneTests/HexColorTests.swift | 1 + Tests/duotoneTests/XCTestManifests.swift | 1 + 4 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 Tests/LinuxMain.swift diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift deleted file mode 100644 index 4bb4906..0000000 --- a/Tests/LinuxMain.swift +++ /dev/null @@ -1,7 +0,0 @@ -import XCTest - -import duotoneTests - -var tests = [XCTestCaseEntry]() -tests += duotoneTests.allTests() -XCTMain(tests) diff --git a/Tests/duotoneTests/FileFormatTests.swift b/Tests/duotoneTests/FileFormatTests.swift index 100aa88..502f450 100644 --- a/Tests/duotoneTests/FileFormatTests.swift +++ b/Tests/duotoneTests/FileFormatTests.swift @@ -6,6 +6,7 @@ // import XCTest +@testable import duotone class FileFormatTests: XCTestCase { diff --git a/Tests/duotoneTests/HexColorTests.swift b/Tests/duotoneTests/HexColorTests.swift index fa697de..60ff3e9 100644 --- a/Tests/duotoneTests/HexColorTests.swift +++ b/Tests/duotoneTests/HexColorTests.swift @@ -6,6 +6,7 @@ // import XCTest +@testable import duotone class HexColorTests: XCTestCase { diff --git a/Tests/duotoneTests/XCTestManifests.swift b/Tests/duotoneTests/XCTestManifests.swift index 9924a7f..b8446e5 100644 --- a/Tests/duotoneTests/XCTestManifests.swift +++ b/Tests/duotoneTests/XCTestManifests.swift @@ -1,4 +1,5 @@ import XCTest +@testable import duotone #if !canImport(ObjectiveC) public func allTests() -> [XCTestCaseEntry] {