Skip to content

Commit 52489a5

Browse files
committed
Adjust test to account for new functionality.
1 parent 25af24b commit 52489a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RubberduckTests/Inspections/ProcedureNotUsedInspectionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Private Sub IClass1_DoSomething(ByVal a As Integer)
166166

167167
[TestMethod]
168168
[TestCategory("Inspections")]
169-
public void ProcedureNotUsed_DoesNotReturnResult_EventImplementation()
169+
public void ProcedureNotUsed_HandlerIsIgnoredForUnraisedEvent()
170170
{
171171
//Input
172172
const string inputCode1 =
@@ -195,7 +195,7 @@ Private Sub abc_Foo(ByVal arg1 As Integer, ByVal arg2 As String)
195195
var inspection = new ProcedureNotUsedInspection(parser.State);
196196
var inspectionResults = inspection.GetInspectionResults();
197197

198-
Assert.AreEqual(0, inspectionResults.Count());
198+
Assert.AreEqual(1, inspectionResults.Count());
199199
}
200200

201201
[TestMethod]

0 commit comments

Comments
 (0)