nicklockwood / SwiftFormat

A command-line tool and Xcode Extension for formatting Swift code
MIT License
7.66k stars 623 forks source link

Fix xcode command plugin #1596

Closed fthdgn closed 6 months ago

fthdgn commented 7 months ago

Fix issue #1594

MahdiBM commented 7 months ago

@fthdgn The test failures are some easy-to-fix problems. You just need to bump some numbers 🙂

Test Case 'SwiftFormatTests.testInputFileNotEnumeratedWhenExcluded' started at 2023-12-13 11:31:42.261
/__w/SwiftFormat/SwiftFormat/Tests/SwiftFormatTests.swift:96: error: SwiftFormatTests.testInputFileNotEnumeratedWhenExcluded : XCTAssertEqual failed: ("42") is not equal to ("41") - 
Test Case 'SwiftFormatTests.testInputFileNotEnumeratedWhenExcluded' failed (0.026 seconds)
Test Case 'SwiftFormatTests.testInputFilesMatchOutputFilesForNilOutput' started at 2023-12-13 11:31:42.287
/__w/SwiftFormat/SwiftFormat/Tests/SwiftFormatTests.swift:70: error: SwiftFormatTests.testInputFilesMatchOutputFilesForNilOutput : XCTAssertEqual failed: ("67") is not equal to ("66") - 
Test Case 'SwiftFormatTests.testInputFilesMatchOutputFilesForNilOutput' failed (0.027 seconds)
Test Case 'SwiftFormatTests.testInputFilesMatchOutputFilesForSameOutput' started at 2023-12-13 11:31:42.314
/__w/SwiftFormat/SwiftFormat/Tests/SwiftFormatTests.swift:81: error: SwiftFormatTests.testInputFilesMatchOutputFilesForSameOutput : XCTAssertEqual failed: ("67") is not equal to ("66") - 
Test Case 'SwiftFormatTests.testInputFilesMatchOutputFilesForSameOutput' failed (0.028 seconds)
nicklockwood commented 6 months ago

@fthdgn thanks!