Skip to content

Commit

Permalink
Add failing test for sortTypealiases
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Nov 24, 2024
1 parent a74b30e commit 5ee1358
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tests/Rules/SortTypealiasesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,9 @@ class SortTypealiasesTests: XCTestCase {

testFormatting(for: input, output, rule: .sortTypealiases)
}

func testCollectionTypealiasWithCompoundExistential() {
let input = "public typealias Parameters = [String: any Any & Sendable]"
testFormatting(for: input, rule: .sortTypealiases)
}
}

0 comments on commit 5ee1358

Please sign in to comment.