Skip to content

Commit

Permalink
Adjust test to be more useful
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim committed Mar 11, 2022
1 parent e41777a commit 39e270b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/SwiftLintFrameworkTests/ConfigurationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -443,12 +443,12 @@ extension ConfigurationTests {
FileManager.default.changeCurrentDirectoryPath(Mock.Dir.level0)
let configuration = Configuration(
includedPaths: ["Level1"],
excludedPaths: ["Level1/**/*.swift"])
excludedPaths: ["Level1/*/*.swift", "Level1/*/*/*.swift"])
let paths = configuration.lintablePaths(inPath: "Level1",
forceExclude: false,
excludeByPrefix: true)
let filenames = paths.map { $0.bridge().lastPathComponent }.sorted()
XCTAssertEqual(filenames, [])
XCTAssertEqual(filenames, ["Level1.swift"])
}

func testDictInitWithCachePath() throws {
Expand Down

0 comments on commit 39e270b

Please sign in to comment.