Skip to content

Commit ec9dbb5

Browse files
committed
Removed using Mocks
1 parent ed6f768 commit ec9dbb5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

RubberduckTests/Inspections/MissingModuleAnnotationInspectionTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using Rubberduck.Parsing.Inspections.Abstract;
66
using Rubberduck.Parsing.VBA;
77
using Rubberduck.VBEditor.SafeComWrappers;
8-
using RubberduckTests.Mocks;
98

109
namespace RubberduckTests.Inspections
1110
{
@@ -435,10 +434,7 @@ Public Sub Foo()
435434
}
436435

437436
private IEnumerable<IInspectionResult> InspectionResults(string inputCode, ComponentType componentType = ComponentType.StandardModule)
438-
{
439-
var vbe = MockVbeBuilder.BuildFromModules((MockVbeBuilder.TestModuleName, inputCode, componentType));
440-
return InspectionResults(vbe.Object);
441-
}
437+
=> InspectionResultsForModules(("TestModule", inputCode, componentType));
442438

443439
protected override IInspection InspectionUnderTest(RubberduckParserState state)
444440
{

0 commit comments

Comments
 (0)