Skip to content

Commit f9ecfd7

Browse files
committed
Replaced several 'Currently unused' with 'Not needed for this test' comments
1 parent de25315 commit f9ecfd7

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1116UnitTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static IEnumerable<object[]> ValidTestExpressions()
5757
[MemberData(nameof(GetTestDeclarations), "", "")]
5858
public async Task TestValidDeclarationAsync(string declaration, string fixedDeclaration, int column)
5959
{
60-
// Currently unused
60+
// Not needed for this test
6161
_ = fixedDeclaration;
6262
_ = column;
6363

@@ -91,7 +91,7 @@ class Foo
9191
[MemberData(nameof(GetTestConstructorInitializers), "", "")]
9292
public async Task TestValidConstructorInitializerAsync(string initializer, string fixedInitializer)
9393
{
94-
// Currently unused
94+
// Not needed for this test
9595
_ = fixedInitializer;
9696

9797
var testCode = $@"
@@ -172,7 +172,7 @@ public Derived(int i, string z)
172172
[MemberData(nameof(ValidTestExpressions))]
173173
public async Task TestValidExpressionAsync(string expression, string fixedExpression, int column)
174174
{
175-
// Currently unused
175+
// Not needed for this test
176176
_ = fixedExpression;
177177
_ = column;
178178

StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1117UnitTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public Derived(int i, int j, string z)
156156
[MemberData(nameof(ValidTestExpressions))]
157157
public async Task TestValidExpressionAsync(string expression, int column)
158158
{
159-
// Currently unused
159+
// Not needed for this test
160160
_ = column;
161161

162162
var testCode = $@"
@@ -181,7 +181,7 @@ public void Baz()
181181
[MemberData(nameof(GetTestExpressions), "\r\n")]
182182
public async Task TestInvalidExpressionAsync(string expression, int column)
183183
{
184-
// Currently unused
184+
// Not needed for this test
185185
_ = column;
186186

187187
var testCode = $@"

StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1121UnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ public class Bar {{ }}
668668
[MemberData(nameof(AllTypes))]
669669
public async Task TestNameOfAsync(string predefined, string fullName)
670670
{
671-
// Currently unused
671+
// Not needed for this test
672672
_ = predefined;
673673

674674
string testCode = @"

0 commit comments

Comments
 (0)