Skip to content

Commit 850c1bd

Browse files
committed
Add swift format ignores for the test names
1 parent e010406 commit 850c1bd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Tests/ArgumentParserUnitTests/CommandSearcherTests.swift

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ private struct CommandWithEnums: ParsableCommand {
7878
}
7979

8080
// MARK: - Basic Search Tests
81-
81+
// swift-format-ignore: AlwaysUseLowerCamelCase
8282
extension CommandSearcherTests {
83+
// swift-format-ignore: AlwaysUseLowerCamelCase
8384
func testSearch_CommandName() {
8485
let tree = CommandParser(ParentCommand.self).commandTree
8586
let engine = CommandSearcher(
@@ -157,6 +158,7 @@ extension CommandSearcherTests {
157158

158159
// MARK: - Argument Search Tests
159160

161+
// swift-format-ignore: AlwaysUseLowerCamelCase
160162
extension CommandSearcherTests {
161163
func testSearch_ArgumentName() {
162164
let tree = CommandParser(SimpleCommand.self).commandTree
@@ -363,6 +365,7 @@ extension CommandSearcherTests {
363365

364366
// MARK: - Case Sensitivity Tests
365367

368+
// swift-format-ignore: AlwaysUseLowerCamelCase
366369
extension CommandSearcherTests {
367370
func testSearch_CaseInsensitive() {
368371
let tree = CommandParser(SimpleCommand.self).commandTree
@@ -384,6 +387,7 @@ extension CommandSearcherTests {
384387

385388
// MARK: - Result Ordering Tests
386389

390+
// swift-format-ignore: AlwaysUseLowerCamelCase
387391
extension CommandSearcherTests {
388392
func testSearch_ResultOrdering() {
389393
let tree = CommandParser(ParentCommand.self).commandTree
@@ -410,6 +414,7 @@ extension CommandSearcherTests {
410414

411415
// MARK: - Empty and No-Match Tests
412416

417+
// swift-format-ignore: AlwaysUseLowerCamelCase
413418
extension CommandSearcherTests {
414419
func testSearch_EmptyTerm() {
415420
let tree = CommandParser(SimpleCommand.self).commandTree
@@ -440,6 +445,7 @@ extension CommandSearcherTests {
440445

441446
// MARK: - Priority Tests
442447

448+
// swift-format-ignore: AlwaysUseLowerCamelCase
443449
extension CommandSearcherTests {
444450
func testSearch_MatchPriority() {
445451
// When a term matches multiple attributes of the same item,
@@ -483,6 +489,7 @@ extension CommandSearcherTests {
483489

484490
// MARK: - ANSI Highlighting Tests
485491

492+
// swift-format-ignore: AlwaysUseLowerCamelCase
486493
extension CommandSearcherTests {
487494
func testANSI_Highlight() {
488495
let text = "This is a test string"
@@ -525,6 +532,7 @@ extension CommandSearcherTests {
525532

526533
// MARK: - Snippet Extraction Tests
527534

535+
// swift-format-ignore: AlwaysUseLowerCamelCase
528536
extension CommandSearcherTests {
529537
func testSnippet_CenteredOnMatch() {
530538
struct TestCommand: ParsableCommand {
@@ -553,6 +561,7 @@ extension CommandSearcherTests {
553561

554562
// MARK: - Format Results Tests
555563

564+
// swift-format-ignore: AlwaysUseLowerCamelCase
556565
extension CommandSearcherTests {
557566
func testFormatResults_NoMatches() {
558567
let formatted = CommandSearcher.formatResults(

0 commit comments

Comments
 (0)