Skip to content

Commit

Permalink
Restore LinuxMain.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Oct 5, 2021
1 parent 322ef96 commit 8048ebd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Unused, but required for Mint install

import XCTest

import SwiftFormatTests

var tests = [XCTestCaseEntry]()

XCTMain(tests)
6 changes: 3 additions & 3 deletions Tests/SwiftFormatTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class SwiftFormatTests: XCTestCase {
return { files.append(inputURL) }
}
XCTAssertEqual(errors.count, 0)
XCTAssertEqual(files.count, 56)
XCTAssertEqual(files.count, 57)
}

func testInputFilesMatchOutputFilesForSameOutput() {
Expand All @@ -78,7 +78,7 @@ class SwiftFormatTests: XCTestCase {
return { files.append(inputURL) }
}
XCTAssertEqual(errors.count, 0)
XCTAssertEqual(files.count, 56)
XCTAssertEqual(files.count, 57)
}

func testInputFileNotEnumeratedWhenExcluded() {
Expand All @@ -93,7 +93,7 @@ class SwiftFormatTests: XCTestCase {
return { files.append(inputURL) }
}
XCTAssertEqual(errors.count, 0)
XCTAssertEqual(files.count, 33)
XCTAssertEqual(files.count, 34)
}

// MARK: format function
Expand Down

0 comments on commit 8048ebd

Please sign in to comment.