Skip to content

Commit

Permalink
Allow XCTest
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Oct 3, 2021
1 parent a5160e9 commit b4f528d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Tests/FengNiaoKitTests/FengNiaoKitSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ import Spectre
@testable import FengNiaoKit
import PathKit

public func testFengNiaoKit() {
describe("FengNiaoKit") {
public let testFengNiaoKit: ((ContextType) -> Void) = {
let fixtures = Path(#file).parent().parent() + "Fixtures"

$0.describe("String Extensions") {
Expand Down Expand Up @@ -463,8 +462,6 @@ describe("FengNiaoKit") {
try expect(project.hasPrefix("\n")) == false
}
}

}
}

public func == (lhs: Expectation<[String: Set<String>]>, rhs: [String: Set<String>]) throws {
Expand Down
2 changes: 1 addition & 1 deletion Tests/FengNiaoKitTests/FengNiaoKitTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import XCTest

class FengNiaoKitTests: XCTestCase {
func testRunSpectre() {
testFengNiaoKit()
describe("FengNiaoKit", testFengNiaoKit)
}
}

0 comments on commit b4f528d

Please sign in to comment.