Skip to content

Commit debc72e

Browse files
author
Andrin Meier
committed
fix failing test
1 parent 06b930c commit debc72e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RubberduckTests/Inspections/ImplicitByRefParameterInspectionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public void ImplicitByRefParameter_QuickFixWorks_PassByRef()
200200
}
201201

202202
[TestMethod]
203-
public void ImplicitByRefParameter_QuickFixWorks_ParamArrayMustBePassedByRef()
203+
public void ImplicitByRefParameter_QuickFixWorks_ParamArrayIsIgnored()
204204
{
205205
const string inputCode =
206206
@"Sub Foo(ParamArray arg1 As Integer)
@@ -220,7 +220,7 @@ public void ImplicitByRefParameter_QuickFixWorks_ParamArrayMustBePassedByRef()
220220
var inspection = new ImplicitByRefParameterInspection(parser.State);
221221
var inspectionResults = inspection.GetInspectionResults();
222222

223-
Assert.AreEqual(2, inspectionResults.First().QuickFixes.Count());
223+
Assert.AreEqual(0, inspectionResults.Count());
224224
}
225225

226226
[TestMethod]

0 commit comments

Comments
 (0)