@@ -36,15 +36,15 @@ final class DontRepeatTypeInStaticPropertiesTests: LintOrFormatRuleTestCase {
36
36
}
37
37
""" ,
38
38
findings: [
39
- FindingSpec ( " 1️⃣ " , message: " remove the suffix 'Color' from the name of the variable 'redColor' " ) ,
40
- FindingSpec ( " 2️⃣ " , message: " remove the suffix 'Color' from the name of the variable 'blueColor' " ) ,
41
- FindingSpec ( " 3️⃣ " , message: " remove the suffix 'Sandwich' from the name of the variable 'bolognaSandwich' " ) ,
42
- FindingSpec ( " 4️⃣ " , message: " remove the suffix 'Sandwich' from the name of the variable 'hamSandwich' " ) ,
43
- FindingSpec ( " 5️⃣ " , message: " remove the suffix 'Person' from the name of the variable 'youngPerson' " ) ,
44
- FindingSpec ( " 6️⃣ " , message: " remove the suffix 'Game' from the name of the variable 'basketballGame' " ) ,
45
- FindingSpec ( " 7️⃣ " , message: " remove the suffix 'Game' from the name of the variable 'baseballGame' " ) ,
46
- FindingSpec ( " 8️⃣ " , message: " remove the suffix 'Session' from the name of the variable 'sharedSession' " ) ,
47
- FindingSpec ( " 9️⃣ " , message: " remove the suffix 'Cookie' from the name of the variable 'chocolateChipCookie' " ) ,
39
+ FindingSpec ( " 1️⃣ " , message: " remove 'Color' from the name of the variable 'redColor' " ) ,
40
+ FindingSpec ( " 2️⃣ " , message: " remove 'Color' from the name of the variable 'blueColor' " ) ,
41
+ FindingSpec ( " 3️⃣ " , message: " remove 'Sandwich' from the name of the variable 'bolognaSandwich' " ) ,
42
+ FindingSpec ( " 4️⃣ " , message: " remove 'Sandwich' from the name of the variable 'hamSandwich' " ) ,
43
+ FindingSpec ( " 5️⃣ " , message: " remove 'Person' from the name of the variable 'youngPerson' " ) ,
44
+ FindingSpec ( " 6️⃣ " , message: " remove 'Game' from the name of the variable 'basketballGame' " ) ,
45
+ FindingSpec ( " 7️⃣ " , message: " remove 'Game' from the name of the variable 'baseballGame' " ) ,
46
+ FindingSpec ( " 8️⃣ " , message: " remove 'Session' from the name of the variable 'sharedSession' " ) ,
47
+ FindingSpec ( " 9️⃣ " , message: " remove 'Cookie' from the name of the variable 'chocolateChipCookie' " ) ,
48
48
]
49
49
)
50
50
}
@@ -70,7 +70,7 @@ final class DontRepeatTypeInStaticPropertiesTests: LintOrFormatRuleTestCase {
70
70
}
71
71
""" ,
72
72
findings: [
73
- FindingSpec ( " 1️⃣ " , message: " remove the suffix 'Thing' from the name of the variable 'defaultThing' " )
73
+ FindingSpec ( " 1️⃣ " , message: " remove 'Thing' from the name of the variable 'defaultThing' " )
74
74
]
75
75
)
76
76
}
@@ -86,9 +86,8 @@ final class DontRepeatTypeInStaticPropertiesTests: LintOrFormatRuleTestCase {
86
86
}
87
87
""" ,
88
88
findings: [
89
- FindingSpec ( " 1️⃣ " , message: " remove the suffix 'Foo' from the name of the variable 'alternateFoo' " )
89
+ FindingSpec ( " 1️⃣ " , message: " remove 'Foo' from the name of the variable 'alternateFoo' " )
90
90
]
91
91
)
92
92
}
93
-
94
93
}
0 commit comments