diff --git a/RubberduckTests/Inspections/EnumerationDeclaredWithinWorksheetInspectionTests.cs b/RubberduckTests/Inspections/EnumerationDeclaredWithinWorksheetInspectionTests.cs index ca207bfdc3..8f93835524 100644 --- a/RubberduckTests/Inspections/EnumerationDeclaredWithinWorksheetInspectionTests.cs +++ b/RubberduckTests/Inspections/EnumerationDeclaredWithinWorksheetInspectionTests.cs @@ -39,7 +39,7 @@ End Enum int actual = inspectionResults.Count(); - Assert.AreEqual(1, actual); + Assert.AreEqual(expected, actual); } [Test]